need help understanding this....

This is similar to my last post....

g over g-1 equals 8 over g+2

Ok now what I did was the following;

g(g+2) = 8(g-1)

as you can tell I cross multiplied....

$\displaystyle g^2+2g = 8g-8$

now my dilemma is about the $\displaystyle g^2$. Since I have to solve for $\displaystyle g$ the only thing I see I can do is move the the $\displaystyle 2g$ to the left and the $\displaystyle 8$ to the right so that it would look like this;

$\displaystyle g^2+8=8g-2g$

I can then combine the $\displaystyle 8g$ and the $\displaystyle 2g$ to get $\displaystyle 6g$ but what about the $\displaystyle g^2+8$....

Thanks in advance for all the help!!