If objects are at the same height, the speed will be the same, so the final speed at point C is the same as the initial speed at point A. The vertical velocity is positive at point A but negative at point C, but the magnitudes are the same.
y_final is the final vertical position, y_initial is the initial vertical position, v_y_initial is the initial vertical velocity, a_y is the vertical acceleration (negative 9.8 m/s^2), t is the time