Here is the solution for the given question attached as a picture since I'm still not so used to using Latex yet...

What confuses me is how they go from the integral to the next part. I know for L'hopital's rule you take the function as a quotient p(t)/q(t) then you find their respective derivatives. However when the top part is a definite integral how do you approach it?

Many thanks in advance