Answer: The block of 0.4 Kg travel the same distance that the block of
0.2 Kg
Explanation: Considering the second newton law, we have the following
F= m*a
F= P*sin (θ) where θ is the angle for the incline
so mg sin (θ)= m*a
a=g sin(θ)
both block have the same acceleration in the inclined plane so travel the same distance independent of its mass.