If f:R→R, g:R→R are given by f(x) = (x+1)^2 and g(x) = x^2 + 1, then write the value of fog (-3).