How do you find the local extrema of #g(x)=-x^4+2x^2#?