1. Combining Functions

$f(x) = x + \frac{1}{x^2}$
$g(x) = \frac{1}{x}$

I need to do $(fog)(x)$ and $(gof)(x)$.
I'm not getting the correct answers...I really have problems simplifying. Thanks in advanced!

2. For (fog)(x), take g and SHOVE IT INTO f, like this

(fog)(x) = ((1/x) +1/((1/x)^2)

For (gof)(x), take F and SHOVE IT INTO g, like this

(gof)(x) = 1/(x+1/x^2)

3. Thank you, I was doing the opposite. Yet I'm having problems solving (gof). I'm not getting the correct answer, and I'm sure it's to do with my lack of algebraic knowledge.