This question was asked in Ex 10.3, 5
Find the equation of line through -2,-1. Perpendicular to line y=x

Harry singh's image