Answer:

Explanation:
We want to find the equation of the line passing through (2,2) and perpendicular to the line with equation y=x.
The given line y=x has slope n=1.
The line that is perpendicular to this line has slope m=-1
The equation is given by the formula;

we plug in the slope and the point to get;



The required equation is
