Momentum is given as P = m v
So Initial momentum of P=mv
final momentum of P=0
change in the momentum of P=mv
Similarly
The initial momentum of Q=25mv
final momentum of P=0
change in the momentum of P=25mv
Let F= force required to stop them
and F is given as
Let t is same for both of them
So for P
And for Q
So