How to calculate the definite integral using the change of variables, and how to change the limits of integration