Answer:
7.5 cm
Step-by-step explanation:
The force exerted by the 2.0 kg on the spring is equal to the weight of the mass, so:

And this force causes a stretching of:

So we can use Hooke's law:

to find k, the spring constant:

Now a new mass of m = 3.0 kg is attached to the spring; the force applied by this mass is

So we can use again Hooke's law to find the new stretching:
