Answer
Yes, it is.
Work Step by Step
In order to see if something is a solution to an equation, we plug in the (x,y) point to see if the equality is correct. Thus, we plug (-3.1,3.1) into $-x=y$ to find:
-(-3.1)=3.1
3.1=3.1
3.1 does equal 3.1, so this is a solution to the equation.