Try using quadratic functions (parabolas). They are how you figure out the motion of something moving threw the air.