Primitive of Reciprocal of square of p plus q by Sine of a x/Proof 2

Proof
First a pair of lemmata:

Weierstrass Substitution
Then we note that:

Hence: