Inverse Functions. NEED HELP PLSS! Give answer option. A,B,C or D.

The Solution:
Given:
[tex]f(x)=x-2[/tex]Required:
Find the inverse of the given function.
Step 1:
Let:
[tex]\begin{gathered} y=f(x)=x-2 \\ y=x-2 \end{gathered}[/tex]Step 2:
Isolate x.
[tex]\begin{gathered} y+2=x \\ \\ x=y+2 \end{gathered}[/tex]Step 3:
Replace y with x.
[tex]f^{-1}(x)=x+2[/tex]Answer:
[option D]