Hello!
There may be an easier way, but take the ln of both sides. This way, you will need to be able to do a little manipulation of logs, to know the product rule of differentiation and to know the chain rule. Remember, if you take the lns of both sides, you will need the chain rule, because you will need to find the derivative of the natural log of the function with respect to the function, and then the derivative of the function with respect to x, which is what you are looking for:
So, if:
[tex](1+x^2)^{x^2} = y[/tex]
then when you take the natural log of both sides, you end up with ln y. So the derivative with respect to x (the right hand side of the equation only) is:
[tex]\frac{d}{dy} \left \left ln{y} \left \left * \left \left \frac{dy}{dx}[/tex]
I didn't include the left hand side, as I figured you might want to have a go yourself! Someone may be able to offer better advice.
I hope that helps!