SAT Math Question...Please?

<p>Hi, I'm having trouble understanding how to solve this. It's from Chung's SAT Math Book. </p>

<p>Let the function f be defined by f(x) = (g(x))^2 - 2g(x) -2. If f(2)=-3, what is the value of g(2)? </p>

<p>Thank you so much :)</p>

<p>Just plug in x=2 for the equation,
giving f(2)=-3=g(2)^2-2g(2)-2
adding 3 to both sides gives g(2)^2-2g(2)+1=0
factoring: (g(2)-1)^2=0, g(2)=1</p>

<p>Yeah, the only way to solve it is simply plug in x = 2. Because you know nothing about g(x).</p>

<p>f(2) = g(2)^2 - 2g(2) - 2, use RandomHSer’s solution.</p>