how do I use a function to write the transformation

For this exercise you need to remember the following Transformation Rules for functions:
1. If:
[tex]f(x)+k[/tex]Then the function is translated "k" units up.
2. If:
[tex]f(x)-k[/tex]Then the function is translated "k" units down.
3. If:
[tex]-f(x)[/tex]Then the function is reflected across the x-axis.
4. If:
[tex]f(-x)[/tex]The function is reflected across the y-axis.
You have the following function f(x):
[tex]f\mleft(x\mright)=2^{x-3}+1[/tex]Based on the above, you know that if it is reflected across the x-axis and translated 5 units up, the function g(x) is:
[tex]\begin{gathered} g(x)=-(2^{x-3}+1)+5 \\ g(x)=-2^{x-3}-1+5 \\ g(x)=-2^{x-3}+4 \end{gathered}[/tex]The answer is:
[tex]g(x)=-2^{x-3}+4[/tex]