How do you go from this step:
$$ \frac{a_2b_2}{\left(b_2+x\right)^2}-\frac{a_1b_1}{\left(b_1-x\right)^2} = 0 $$ To this step:
$$ (a_1b_1-a_2b_2)x^2 + 2b_1b_2(a_1+a_2)x + b_1b_2(a_1b_2 - a_2b_1) = 0 $$
Have tried to do it but my maths are a bit rusty at the moment, It would be nice if somebody could do a step by step on how to get to that.
What I have tried: $$ \frac{(a_2b_2(b_1-x)^2)-(a_1b_1(b_2+x)^2)}{\left(b_2+x)^2(b_1-x\right)^2} = 0 $$ multiply denominators and then cross-multiply numerator with denominator, unfortunately I do not know how to continue this.
Assuming that $(b_2+x)^2(b_1-x)^2\ne 0$ we have
$$ (b_2+x)^2(b_1-x)^2\left(\frac{a_2b_2}{\left(b_2+x\right)^2}-\frac{a_1b_1}{\left(b_1-x\right)^2}\right)=(b_1-x)^2a_2b_2-(b_2+x)^2a_1b_1=\\ (b_1^2-2b_1 x+x^2)a_2b_2-(b_2^2+2b_2 x+x^2)a_1b_1=0 $$
the last step is left.