We need to find the inverse of the funcion:

Notice that:

Thus, we have:

Now, to find its inverse, we can follow the steps below:
• replace x with y;
,
• replace f(x) with x;
,
• isolate y on the left side;
,
• replace y with f⁻¹(x).
We obtain:

Now, we need to graph both f(x) and f⁻¹(x).
In order to graph f(x), since it is a line, we can plot two points of the form (x, f(x)) and then join those points to form the line:

Similarly, to graph f⁻¹(x), we can do as follows:

Answer:
