Find fog and gof, if f(x) = x^2 ,g(x) = cos x