The transformation in question 5 shows a shift to the left by 3 units.
A shift to the left by b units has the rule:
[tex]f(x)\to f(x+b)[/tex]Therefore, the shift to the left by 3 units will yield the function:
[tex]x^2\to(x+3)^2[/tex]Hence, the function g(x) will be:
[tex]g(x)=(x+3)^2[/tex]