A 32-kg block attached to a spring of constant k = 12 kN/m can move without friction in a slot as shown. The block is given an initial 300-mm displacement downward from its equilibrium position and released. Determine 1.5 s after the block has been released
(a) the total distance traveled by the block,
(b) the acceleration of the block.