A body of mass $M$ is dropped from a height $h$ on a sand floor. If the body penetrates $x \mathrm{~cm}$ into the sand, the average resistance offered by the sand to the body is
(a) $M g\left(\frac{h}{x}\right)$
(b) $M g\left(1+\frac{h}{x}\right)$
(c) $M g h+M g x$
(d) $M g\left(1-\frac{h}{x}\right)$