Dear Student
The initial velocity of box relative to the belt is v in m/s backward direction. (opposite to motion of belt) that is -v m/s. The box experience maximum frictional force F=μR=μMgF=μR=μMg
Therefore a=Force/ mass
a= μmg/m
=μg in forward direction
Let the box come to rest in distance S
v2=u2+2as
0=(−v)2+2a.s
s = - v2 /μg
We sign shows the box moves in opposite direction of motion of belt
Regards