need a step by step explanation for this integral – writinghub.net

need a step by step explanation for this integral – writinghub.net

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

Writing Hub