f(x)=3x-5
The graph of that function is like this:
Replace by
Interchange x and y
Solve for y
Replace by
Now plot that on the same graph:
Notice that the inverse is the reflection of the
original line in the "identity" line which has equation
, called the identity line. That's
the green dotted line below:
Edwin