my teacher for our first homework assignment gave us half answers, but i cant get the correct answer for this:

when you plug in -3 is equal to what?

my math teacher says 2 is the answer, but i always get

is my math teacher wrong? or what am i doing incorrectly?