The method shown by the other tutor is fine: switch the x and y in the given function and solve for the new y. That method is often needed for complicated functions.
For relatively simple functions like this, there is a much easier way to find the inverse, using the idea that the inverse function "gets you back where you started" by "un-doing" what the function does.
What does the given function do to the input?
(1) multiply by 3; and
(2) add 1/4
The inverse function has to undo those operations, using the inverse operations in the opposite order.
Inverse function:
(1) subtract 1/4; and
(2) divide by 3