I have an equation:
$$h=\alpha_2+\beta_2\left[\left(\frac{\alpha_2-\alpha_1}{\beta_1-\beta_2}\right)-\left(\frac{\gamma_1}{\beta_1-\beta_2}\right)k\right]$$
with which I need to obtain an equation for 'h' in terms of 'k' of the form:
$$h=\pi_3+\pi_4k$$
I am truly horrible at rearranging these kinds of equations so any help would be greatly appreciated!