A force of 10N extends a spring by 3.0cm. Calculate the extension if a mass of 0.3kg is attached to the end of the spring.