Answer:
x = 0.3 m
Step-by-step explanation:
mass of block (Mb) = 0.3 kg
velocity of the block (v) = 1.2 m/s
force constant of the spring (k) = 4.4 N/m
from the conservation of energy
the initial kinetic energy of the block = the final spring energy

m

x = v x

x = 1.2 x

x = 0.3 m