Answer
$$y=x-4$$
Work Step by Step
Switching the elements of the domain and the range (in other words, the dependent and independent variables), we find that the inverse is:
$$x=y+4 \\ y=x-4$$
Note, if we plug the inverse into the original function or the original function into the inverse, we should get x.