Find the equation of a line that contains (-2, -2) and is perpendicular to y= -x+3

Since it is perpendicular its slope must be +1

equation:
y = x + b
but (-2,-2) lies on it, so
-2 = -2+b
b = 0

the new equation is y = x