g(x)=(x-12)^(2)
The parent function shift right when subtracting x by 12; shift left when adding x by 12. 
The parent function shift up when adding x^2 by 12; shift down when subtracting x^2 by 12.
It will be helpful if you know the vertex form: 
y = a(x – h)^2 + k, 
where (h, k) is the vertex. 
Since shifting the parent function also shift its vertex.