what is the derivative of

If y = x^m

and y'= mx^(m-1)

y" = ?

You have already written the correct value of the derivative of y(x). That is y' = m x^(m-1) .

The second derivative is
y" = m(m-1)y^(m-2)