So I started by using $\sin 3A$ and $\cos 3A$ identities and then I added the lone $1$ to the trigonometric term. (Done in the picture below)
But after this I don't have any clue on how to proceed.
$$=\frac{3 \sin \theta-4 \sin ^{3} \theta-\left(4 \cos ^{3} \theta-\sin \theta\right)}{\sin \theta+\cos \theta} + 1$$ $$=\frac{3 \sin \theta-4\sin^{3} \theta-4 \cos ^{3} \theta+3 \cos \theta}{\sin \theta+\cos \theta} + 1$$ $$=\frac{3 \sin \theta-4 \sin ^{3} \theta-4 \cos ^{3} \theta+3 \cos \theta+\sin \theta+\cos \theta}{\sin \theta+\cos \theta}$$ $$=\frac{4 \sin \theta-4 \sin ^{3} \theta-4 \cos ^{3} \theta+4 \cos \theta}{\sin \theta+\cos \theta}$$ $$=\frac{4 \sin \theta+\cos \theta-\sin ^{3} \theta-\cos ^{3} \theta} {\sin \theta+\cos \theta} $$