Doubt from ray optics

Question 10

1/v+1/u=1/f differentiate it , you will get

Thank you