So I'm able to do the spring problems when they ask you to find the work, but I'm having trouble with its inverse where they give you the work and ask you to find its length.
Problem:
It takes 6J to stretch a spring from 10cm to 12cm and a work of 10J to stretch it from 12cm to 14 cm, what is it's length in it's resting position.
edit : I have a feeling I'm suppose to apply Hooke's law, but not quite sure how.