A 200 N/m, 5 m spring on a 20 degree incline is compressed 2.3 m and a 5 kg block is placed on it. If we neglect friction, how far up the incline will the block travel? How fast will it be traveling when it is 0.2 m up the incline?

The energy stored in the spring when compressed is

(1/2) k (deflection)^2
= (1/2)(200)(2.3)^2 = 229 Joules.

Assume that all that energy is transferred to the block. The potential energy at maximum block elevation will be 229 J higher than it was in the compressed position. That means its elevation will increase by
229/(M g) = 4.67 m

Divide that distance by sin 20 to get the distance that it moves up the incline.

For the last part, compute how much potential energy the spring has released after it has decompressed by 0.2 m. The spring will still be pushing it then. Subtract the potential energy gain of the block at that location and the rest is kinetic energy. It am assuming that that question refers to 0.2 m measured from the lowest (compressed)position of the spring.