Personally i would not use trig sub for either of these. a substitution of works nicely for the first (is the square on the cosine? if so, you are correct) and a substitution of works wonders for the second. if you insist on doing trig sub for this, you would use , the first does not have a required form to apply trig sub.