solve and check for extraneous solutions.
\(\sqrt{3x+1} =x-1\)
\(\sqrt{3x+1} =x-1\)