Integration techniques II: substitution. Reference in Stewart: Sections 5.5 and 7.3.