Answer
$31\;\rm cm$
Work Step by Step
To find the compressed distance of the spring, we first need to find the force exerted by the spring on the student. Note that this situation is similar to if the student was standing on a bathroom scale while the elevator is moving up.
Applying Newton's second law on the student.
$$\sum F_y=F_{sp}-mg=ma_y$$
$$F_{sp}-mg=ma_y$$
We know, from Hooke's law that the force of the spring is given by
$$F_{xp}=-kx$$
where $x$ is the stretched or the compressed distance from the equilibrium point of the spring, and $k$ is the spring constant.
Thus,
$$-kx-mg=ma_y$$
Solving for $x$
$$ x =\dfrac{ma_y+mg}{-k} =\dfrac{m(a_y+g)}{-k}$$
Plugging the known;
$$ x =\dfrac{60(3+9.8)}{-2500}=-\color{red}{\bf 0.31}\;\rm m$$
The negative sign is due to the compression direction of the spring which is below its up end.