Are you kidding are you sure you want this
Answer:
The detailed derivation is shown in the attachment
Step-by-step explanation:
The step by step explanation is as shown in the attachment.
Basically, what was applied is the knowledge of differentiation and integration.