I don't understand how the equation you got was strange, you should have included some working so someone could spot where it might have goine wrong.

Expanding both sides you should end up with

Which is just a quadratic in x. Bring everything onto one side and use the quadratic formula.

Hope this helps.

pomp.