Exercise about mechanical energy

Hi everyone , this exercise was given in one of my midterms , but we didn't correct it and I'm wondering where I went wrong on it : Help will be extremly appreciated :

Here is the statement :

A block of mass m=2 kg is pushed by a spring with a spring constant of k=650 N/m which is intially compressed by Δx=0.12m and attached to a wall . This mass slides a distance d= 0.5 m up a frictionless tables wich makes an angle θ=6° with the horizontal .

1- What is the expression of the total energy of the mass right when it is pushed by the spring ?

2- What is the expression of kinetic enerfy of the mass when it reaches the edge of the table ?
I wrote ΔK= Wnet =m*g*h+ 1/2*k*Δx² so kowing that Ki=0
Kf= m*g*d*sinθ + 1/2*k*Δx²
The professor said that : Kf= -m*g*d*sinθ + 1/2*k*Δx² (WHY ?)
3- The mass falls a height h=0.8 m down to the ground : With what speed will the block land on the floor :

I used question 2 , having vf= sqrt(2*g*h+k/m*Δx² ) but as 2 was apparently not correct I lost points on it too !
Can anyone help ? THANKS A LOT

When the mass has travelled a distance 0.5m it reaches the edge of the table and falls off. But just before it falls off it is moving up the slope with a speed you can deduce from the answer to (2). It therefore does not fall vertically.

which means straight down, no horizontal component.
You corrected this in your own post #4, pointing out that it will also have horizontal motion.
"Falling vertically", in everyday usage, likewise implies no horizontal motion. It is not the same as saying that the vertical component of its motion is downwards.
In all cases, this is relative to the apparatus.

"Falling vertically", in everyday usage, likewise implies no horizontal motion. It is not the same as saying that the vertical component of its motion is downwards.
In all cases, this is relative to the apparatus.

I think in every day usage you could say something falls vertically and yet not exclude a horizontal component. Do skydivers jumping from a plane fall vertically? If not, how do they fall then?