(b)
Given, $\sin{\theta + \cos{\theta = h}}$
$\Rightarrow \sin^{2}{\theta + \cos^{2}{\theta + 2\sin{\theta\cos{\theta = h^{2}}}}}$ [squaring]
$\Rightarrow \sin{\theta\cos{\theta = \frac{h^{2} - 1}{2}}}$
The quadratic equation having the roots $\sin\theta$ and $\cos\theta$ is
$x^{2} - (\sin{\theta + \cos{\theta)x + \sin{\theta\cos{\theta = 0}}}}$
$\therefore\ \ \ \ 2x^{2} - 2hx + \left( h^{2} - 1 \right) = 0$