Block sliding down ramp, energy problem

A 1.79-kg block slides down a frictionless ramp, as shown in the figure below.

The top of the ramp is h1 = 1.54 m above the ground; the bottom of the ramp is h2 = 0.287 m above the ground. The block leaves the ramp moving horizontally, and lands a horizontal distance away. Calculate the distance .

Well you do, you just have to think about it.
There is no force in the x plane once it has left the ramp, therefore velocity is constant.
The acceleration in the y plane will be 9.81N (due to gravity)
The distance it will fall in the y plane is 0.287m (the distance from bottom of ramp to ground).
and the initial y velocity is zero (it specifies it is initially travelling horizontally).