The rock's altitude y at time t, thrown with initial velocity v, is given by

where
is the acceleration due to gravity.
After t = 2.7 s, the rock reaches the water (0 altitude), so


so the rock was thrown with a velocity with magnitude 14 m/s and downward direction.
Its velocity at time t is
(with no horizontal component), so that at the moment it hits the water, its velocity is

That is, its final velocity has an approximate magnitude of 41 m/s, also directed downward.