Solve the equation for 0

The answerGiven the equation
[tex]-2+\sin \theta=\frac{-4+\sqrt[]{2}}{2}[/tex]Step 1: Collect like terms
[tex]\sin \theta=\frac{-4+\sqrt[]{2}}{2}+2[/tex][tex]\sin \theta=\frac{-4+\sqrt[]{2\text{ }}+4}{2}[/tex][tex]\sin \theta=\frac{\sqrt[]{2}}{2}[/tex]Step 2: Find the value of the angle
[tex]\theta=\sin ^{-1}(\frac{\sqrt[]{2}}{2})[/tex][tex]\begin{gathered} \text{for the range of }\theta\text{ given } \\ 0\leqslant\theta\leqslant2\pi \end{gathered}[/tex][tex]\theta=45^0,135^0[/tex]Then is expressing in radians
[tex]\begin{gathered} 45^0=\frac{\pi}{4} \\ 135^0=\frac{3\pi}{4} \end{gathered}[/tex]Answer is option B