Here are some resources on trig substitution:

This is a summary from a standard calculus textbook (Calculus by Rogawski):

Here are some videos from PatrickJMT: