A 6.0 kg block slides along a frictionless horizontal ground at a velocity of 7 m/s. After sliding for 2.0 m the block slides up a slope inclined at an angle of 40 degrees from the horizontal. Find how far along the ramp does the block slide before reaching zero velocity momentarily?