I 've been trying to find the derivative of this function and it's a little confusing.

I started out by using the quotient rule getting:

Then multiplying this out and combining like terms:

The final solution is

I just cant seem to get from the last step to the solution. Can anyone help? Thanks