Text book question is.....Do (-2) "squared" and -2 "squared" have the same value?

-I have written "squared" because can't see how to type in "2" in exponent form.-

The text book answer is "no" and list -4 and 4 for the individual answers.

Why is this so?