Rewrite the expression g^4 + 12g^2 + 9 - 10g^2 + 8 in the form c(g^2 + p)^2 + q. What is q?
g^4 + 12g^2 + 9 - 10g^2 + 8 =
g^4 + 2g^2 + 17 = {complete the square on g }
g^4 + 2g^2 + 1 + 17 - 1 =
(g^2 + 1)^2 + 16
q = 16