So I think for the first one y=3x-2 you need to add 2 to both sides to get 2+y=3x and then times by 3 to get x on its own. You should get 6+3y=x. If u wanted x.
For the second one y=2x+3 you minus 3 from both sides to get y-3=2x then times both sides by two to get 2y-6=x. Hope this helps and if it’s wrong then sos