a spring and a weight

There is a spring. And there is a weight at the edge of the spring.

You can stretch the spring by moving Point P.

What relation is there between the weight and the stretch of the spring?

Download CABRI‡U data (d128) from here.