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