First remember the following kinematic equations:
a = g
vf = g * t + vo
rf = (1/2) * g * t ^ 2 + vo * t + ro
g: gravity
t: time
vf: final speed
Vo: initial speed
For this case what we should do is to choose the equation that best suits each statement.
We have then:
GroupA: h (t) = - 4.9 * t ^ 2 + 19 * t
Group B: h (t) = - 16 * t ^ 2 + 50 * t
Group C: h (t) = - 4.9 * t ^ 2 +19
Group D: h (t) = - 16 * t ^ 2 +50