Solve for x in terms of a and b

(b-a)x=3x-(5/a)

I can't figure out how to get the x alone with out getting (3x)/(b-a).

Can anyone help explain?

To solve for x in terms of a and b in the equation (b-a)x = 3x - (5/a), we will isolate the x terms on one side of the equation and the constant terms on the other side.

Let's start by moving all the x terms to one side:

(b - a)x - 3x = -5/a

Next, we can combine the x terms:

(b - a - 3)x = -5/a

Now, to isolate x, we divide both sides of the equation by (b - a - 3):

x = (-5/a) / (b - a - 3)

To simplify further, we can multiply the numerator and denominator of the right side by a:

x = (-5/a) * (1 / (b - a - 3))

x = -5 / (a(b - a - 3))

Therefore, we have solved for x in terms of a and b:

x = -5 / (a(b - a - 3))