The function f(x) is defined by f(x)=3(x−5)2+10. The function g is defined by g(x)=f(x+7). For what value of x does g(x) reach its minimum?
5
−2
7
−7