Solve for x 2=3x^2-x-2