differentiate 2^(x^2)