derive 3 x^3