how do I do a question with fractions on both sides of the equation.

example 5 over 6x-1 equals -1 over x + 1

5/(6x-1) = -1/(x+1)

Just clear denominators as usual. Suppose you had

3/8 + 2/3

You multiply by 3/3 and 8/8 so you have

3*3/24 + 2*8/24

So, for your equation, multiply to use the common denominator (6x-1)(x+1)

5/(6x-1) = -1/(x+1)
5(x+1)/[(6x-1)(x+1)] = -1(6x-1)/[(6x-1)(x+1)]

Now, since everything has a common denominator, the fractions are equal if the numerators are equal. This is commonly referred to as "cross-multiplying" because that is the net effect.:

5(x+1) = -1(6x-1)
5x+5 = -6x+1
11x = -4
x = -4/11

But, when you do this, make sure that your final answer does not make any denominators zero, since division by zero is undefined.