Help me with this math problem plsWrite the formula for g(x) in terms of f(x)

Given:
Given a graph of f(x) and g(x).
Required:
To write the formula for g(x) in terms of f(x).
Explanation:
The graph of g(x) is 5 units left and 1 units up gfrom the graph of f(x).
Therefore the function g(x) is
[tex]g(x)=f(x+5)+1[/tex]Final Answer:
[tex]g(x)=f(x+5)+1[/tex]