Slope of y = x is 1.
The slope of line perpendicular to y = x is −1
Also this line passes through (3, 2)
i.e. y − 2 = − 1 (x – 3) is the required equation of the line.
i.e. y − 2 = − x + 3
i.e. y + x = 5
i.e. x + y = 5 is the required equation of the line.
Hence, the correct answer is option B.