Time and space are both relative
Are you referring to the fact that water is a compound while hydrogen is an element? If I'm wrong just comment and clarify and I can edit it, I don't even know what kind of unit you're in. :)
Answer:
Explanation:
A Spring stretches / compresses when force is applied on them and they are governed by the Hookes Law which states that the force required to stretch or compress a spring is directly proportional to the distance it is stretched.

F is the force applied and x is the elongation of the spring
k is the spring constant.
negative sign indicates the change in direction from equilibrium position.
In the given question, we dont have force but we know that the pan is hanging. We also know from the Newton's second law of motion that

Inserting this into Hooke's Law

computing it for x,

This is the model which will tell the length of the spring against change in the mass located in the pan.
A hillside of course my friend