f(x + n) - translation n units left
f(x - n) - translation n units right
f(x) + n - translation n units up
f(x) - n - translation n units down
-------------------------------------------------------------
[tex]f(x)=5^x-2\\\\\text{translation 5 units right}\to f(x-5)=5^{x-5}-2[/tex]