Solution:
Let a,b,c be the zeros of f. Then f(x)=(x−a)(x−b)(x−c). Then, the roots of g are a2,b2,c2, so g(x)=k(x−a2)(x−b2)(x−c2) for some constant k. Since abc=−f(0)=−1, we have k=ka2b2c2=−g(0)=1. Thus,
g(x2)=(x2−a2)(x2−b2)(x2−c2)=(x−a)(x−b)(x−c)(x+a)(x+b)(x+c)=−f(x)f(−x)
Setting x=3 gives g(9)=−f(3)f(−3)=−(31)(−29)=899.