Integrating Exponential Functions - Examples 1 and 2