Can't simplify this fraction: $ \frac{1+x^6}{1+x^2}$ I've been having trouble simplifying this fraction :
$$
\frac{1+x^6}{1+x^2}
$$
Can anyone explain step by step on how to solve this?
Thank you.

$1+x^6=1+({x^2})^3$ which is equivalent to 
$(1+x^2)(x^4+1-x^2)$ using $a^3+b^3=(a+b)(a^2+b^2-ab)$
Hence the expression becomes $$\frac{(1+x^2)(x^4+1-x^2)}{1+x^2} = (x^4+1-x^2).$$
