A person on ground takes aim at a monkey sitting on a tree which is at some distance, and fires a bullet. Seeing the smoke, the monkey begins to fall freely, then the bullet will
The monkey starts a vertical distance h above the hunter, and the horizontal distance between the monkey and hunter is d. The origin is the hunter.
The horizontal position of the bullet is:
xb=voxt
When xb=d,t=d/vox
The vertical position of the bullet is:
yb=voyt−½gt2
Plugging in t=d/vox for the first t gives:
yb=dvoyvox−½gt2
Compare this to the vertical position of the monkey:
ym=h−½gt2
If the hunter aims the gun at the monkey to begin with:
tan(q)=h/d=voy/vox
So, dvoyvox=h
In this case, when the bullet has traveled a distance d horizontally, its vertical position will be:
yb=h−½gt2
That exactly matches the monkey's position, so the bullet will hit the monkey when the hunter aims the rifle at the monkey.