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