A block of mass 2 kg is released from the top of an inclined smooth surface as shown in the figure. If spring constant of the spring is 150 N/m and the block comes to rest after compressing the spring by 1 m, then the distance travelled by the block before it comes to rest is