(d)
Let $m$ be the slope of required line
$\therefore\left| \frac{m - ( - 1)}{1 + m( - 1)} \right| = 1$
$\Rightarrow \frac{m + 1}{1 - m} = \pm 1$
$\Rightarrow m + 1 = 1 - m,\ m + 1 = - 1 + m$
$\Rightarrow m = 0,\ m = \infty$
$\therefore$ Equation of the line through (1, 1)is $y - 1 = 0,\ x - 1 = 0$