How do you know when to use a substitution method when integrating?
If integrating by inspection is not successful then try a substitution.
Remember if one term is the derivative of another then a substitution could be needed.
Often expressions with terms involving brackets or terms inside square roots or as denominators, could be clues.