If 27 J of work are needed to stretch a spring from 18 cm to 24 cm and 45 J are needed to stretch it from 24 cm to 30 cm, what is the natural length of the spring?