Are you trying to find the inverse function, where you end up with another "y=" formula? Or are you trying to solve "y = 3x - 2" for x?
(The first is one process, called "function inversion". The second is another process, somewhat related, called "solving literal equations". But the answers would not be the same, is why I ask.)
Thank you.
Eliz.