This is how to solve problem 5 of section 2.5. This is from the textbook THOMAS CALCULUS EARLY TRANSCENDENTALS 13th edition.