If the function f:R→R be given by f(x)=x2+2 and g:R→R be given by g(x)=xx−1,x≠1, find fog and gof and hence fing fog(2) and gof(-3).