How do you find the inverse of f(x)=4x-2?

y=4x - 2

switch the variables
x = 4y - 2
solve this for y
4y = x + 2
y = (x+2)/4

f^-1 (x) = (x+2)/4