The graph shows g(x), which is a translation of f(x)=x2. Write the function rule for g(x).

Write your answer in the form a(x–h)2+k, where a, h, and k are integers or simplified fractions.
g(x)=

g(x) = x^2 - 6