(3x)/(x+2)=9-(6)/(x+2)

To solve the equation (3x)/(x+2) = 9 - (6)/(x+2), we need to get rid of the denominators.

Step 1: Multiply both sides of the equation by (x+2) to eliminate the denominators:
(x+2) * (3x)/(x+2) = (x+2) * (9 - (6)/(x+2))

Simplifying the equation:
3x = 9(x+2) - 6

Step 2: Distribute the 9 on the right side of the equation:
3x = 9x + 18 - 6

Step 3: Combine like terms:
3x - 9x = 12

Step 4: Simplify the equation:
-6x = 12

Step 5: Divide both sides of the equation by -6 to isolate x:
-6x / -6 = 12 / -6

Simplifying the equation:
x = -2

Therefore, the solution to the equation (3x)/(x+2) = 9 - (6)/(x+2) is x = -2.