\beta +\theta +\frac{\pi}{4}=\pi $ tj $ \theta = \frac{3\pi}{4}-\beta