This might be hard at first, but if you work through step by step you'll get there!
Start by getting rid of the fraction, multiply both sides by (3x-1) to get y(3x-1) = 2(1+x)
Multiply out the brackets: 3yx-y = 2+2x. The 3yx might seem hard to sort out but leave it for the moment and it can be factorised and sorted at the end!
Put the x terms on one side (including 3yx) and the non x terms on the other: 3yx-2x = 2+y
Factorise the left side to get a single x term multiplied by everything else: x(3y-2) = 2+y
Then you simply divide both sides by (3y-2) to get
x = (2+y)/(3y-2) and thats your final answer.