(b)
∵ Slope of given line $y = x$ is 1
$\therefore$ Slope of required line which is perpendicular to given line is $- 1$
Thus, the equation of required line passing through (3, 2) and slope $- 1$, is
$y - 2 = - 1(x - 3)$
$\Rightarrow \ \ x + y = 5$