I know the answer to this problem is -1. I found that by substituting for x and seeing if it worked. How should I do it the correct way?

(x/(3x+6))-(x+1/3x-6)=(1/(x^2)-4)

first, use enough parens to be correct:

(x/(3x+6))-(x+1)/(3x-6)=(1/(x^2)-4)

factor out the 1/3 on the left side, and factor the right side

1/3 (x/(x+2) - (x+1)/(x-2)) = 1/((x+2)(x-2))

now put LS over a common denominator

1/3 (x(x-2) - (x+1)(x+2))/((x-2)(x+2)) = 1/((x+2)(x-2))

multiply through by 3(x-2)(x+2)

x(x-2) - (x+1)(x+2) = 3
x^2 - 2x - x^2 - 3x - 2 = 3
-5x - 2 = 3
-5x = 5
x = 1

Thank you for your help. I still need some more explaining. I understand factoring out the 1/3 on the left hand side. I also understand factoring the denominator on the right hand side. After that I have trouble. Could you please show it to me again, but this time with more steps shown?

If you are ok to here:

1/3 (x/(x+2) - (x+1)/(x-2)) = 1/((x+2)(x-2))

Think of it as something like

1/3 (3/5 - 4/7) = 1/(35)

To clear the fractions, multiply by the LCD of them all: 3*5*7 = 35

In our case, 3(x+2)(x-2)

1/3 x/(x+2) * 3*(x-2)(x+2) --> x(x-2)
the other factors cancel out. Do that for all three terms of the equation and you get to the next step, which is much easier to read:

x(x-2) - (x+1)(x+2) = 3
and from there it should be clear. That help?

To solve this equation correctly, you need to follow a systematic approach called "solving algebraic equations." Here's how you can solve this equation step-by-step:

Step 1: Clear the denominators
To eliminate the denominators in the equation, you can multiply the entire equation by the common denominator of all the fractions, which in this case is (3x+6)(3x-6)(x^2-4). This step will make it easier to work with the equation since it will remove the fractions.

(x/(3x+6)) * (3x-6)*(x^2-4) - (x+1)/(3x-6) * (3x+6)*(x^2-4) = (1/(x^2)-4)*(3x+6)*(3x-6)*(x^2-4)

Step 2: Simplify the equation
Multiply out each term on both sides of the equation and simplify. Be careful with distributing the terms and canceling out common factors. You can also simplify by expanding the squared terms.

(x(3x-6)*(x^2-4)) - ((x+1)(3x+6)*(x^2-4)) = (1*(3x+6)*(3x-6)*(x^2-4)) - (4(x^2-4)*(3x+6)*(3x-6))

Step 3: Combine like terms
Combine the like terms on both sides of the equation. Pay attention to all the terms and distribute, if necessary.

3x^3-6x - (x^3-3x^2-4x+12) = 3x^3-12x - (12x^2-48) - 12x^2+48

Step 4: Simplify and rearrange the equation
Combine all the terms and simplify. Rearrange the equation to bring all the terms to one side, leaving zero on the other side.

3x^3 - 6x - x^3 + 3x^2 + 4x - 12 = 3x^3 - 12x - 12x^2 + 48 - 12x^2 + 48

2x^3 + 9x^2 - 22x - 108 = 0

Step 5: Solve the equation using factoring or other methods
Solve the quadratic equation using factoring, completing the square, or the quadratic formula. In this case, factoring seems reasonable.

(x+3)(2x^2 + 3x - 36) = 0

Setting each factor to zero will give you the possible solutions:

x + 3 = 0 or 2x^2 + 3x - 36 = 0

Solving each equation separately will give you the values of x:

x = -3 or x = -4, x = 3/2

So, the final solution set is x = -3, -4, 3/2.

Now you can substitute these values back into the original equation to check if they are valid solutions. In this case, you have determined that the answer is -1 by substituting, which means you have made a mistake while solving the equation. Double-check your steps and calculations to find the error.