Solución

$\theta = \frac{7\pi}{4}$