hint:
a=-g
Use the symmetry of projectile motion.