Answer:
Solved using 2 different methods, used the definition of derivative aswell.
4.6m questions
6.0m answers