the x and y coordinated of projectile motion and time t are related as