We write
y = 4x - 2.
Then we swap x and y
x = 4y - 2
and express "y" from here
y = .
What you get is your ANSWER.
Solved.
---------------
The procedure described in my post is the standard to create an inverse function
(when it exists), and the wording mantra is standard and universal, too.
So, it is worth to MEMORIZE it to use for the future similar problems.
Yes; the method described in the response from the other tutor is the standard way to find the inverse of a function.
However, for many relatively simple functions like this one, you can find the inverse quickly using the idea that an inverse function "un-does" what the function does. To undo what the function does, the inverse must perform the opposite operations, in the opposite order.
In this example, the function does this to the input:
(1) multiply by 4; and
(2) subtract 2
So the inverse function has to
(1) add 2; and
(2) divide by 4