The graph of f and g are given. Find the formula for the function g

From the graph, we observe that
The given curve is,
[tex]f(x)=x^2[/tex]We need to write the formula for the function g:
The graph of g(x) is shifted 2 units right and 4 units down the original graph.
Hence, the formula g(x) is,
[tex]\begin{gathered} g(x)=f(x-2)-4 \\ g(x)=(x-2)^2-4 \end{gathered}[/tex]Hence, the answer is,
[tex]g(x)=(x-2)^2-4[/tex]