Okay, so you can find the gravitational potential energy using ΔUg = mgh
where m is mass, g is gravitational force (usually threated as the constant 9.8N/kg ) and h is height
The marble gains all it's potential energy from the spring, therefore ΔUg = -ΔUs
(Technically the spring transfers it's potential energy into kinetic energy after which it becomes potential energy)
The formula for elastic potential energy is given by
$$Pe = -\Delta Us = \frac{1}{2}kx^2$$
where k is the spring constant and x is the amount of compression
edit: I think you can do the last one by yourself if you've finished these