Rearranging equations

Homework Statement

I need to rearrange the following equation to find x in terms of a and b, assuming that a≠-b

a(a+x)=b(b-x)

The Attempt at a Solution

So far I have multiplied out the brackets and came up with

a$$^{}2$$+ax=b$$^{}2$$-bx

but I don't really know where to go from there to find x in terms of a and b.Would be really grateful if someone could help. Thanks.

Try adding and subtracting terms from each side so you get each x term on the same side.

you can move things over from the left to the right or vice versa i.e.

a + b = d - e
can become by moving things around:

a + b - d = -e

notice how we change the sign when things move over!

for ur question u want to get the x's on one side as the next step so move things over to get the x's together and the a's and b's together.

So would this be right?:

ax-bx=a2-b2
x(a-b)=a2-b2
x=(a2-b2)/(a-b)

Note ax+bx=b2-a2 and you have to correct your steps