Doubt from Newtons laws of Motion

Question no 5 is their answer correct i think my answer is correct

yes your ans is right

Because i did the same as a derivation in Bm sharma question