To find the inverse of a function switch x and y and then solve for y
Example: y=3x+2
Switch x and y
x=3y+2
subtract 2 from both sides
x−2=3y
divide 3 from both sides
(x−2)/3=y
rewrie with y on the left
y=(x−2)/3
The inverse of y=3x+2 is y=(x−2)/3