need-a-step-by-step-explanation-for-this-integral

Additionally, how can I solve similar trigonometric integrals like this one?