Speed of packets = 125m/ s
Height of hill = 500m
To cross the hill by packet the vertical components of the speed of packet (125m s-1) must be minimised so that it can attain a height of 500m and the distance between Hill and Cannon must be half the range of packet.
$\text{v}^2=\text{u}^2+2\text{gh}$
$0=\text{u}^2_\text{y}-2\text{gh}$
$\text{u}_\text{y}=\sqrt{2\text{gh}}=\sqrt{2\times10\times500}$
$=\sqrt{10000}$
$\text{u}_\text{y}=100\text{m/s}$
$\text{u}^2=\text{u}^2_\text{x}+\text{u}^2_\text{y}$
$(125)^2=\text{u}^2_\text{x}+100^2$
$\Rightarrow\ \text{u}^2_\text{x}=125^2-100^2$
$\text{u}^2_\text{x}=(125-100)(125+100)$
$=25\times225$
$\text{u}_\text{x}=5\times15$
$\Rightarrow\ \text{u}_\text{x}=75\text{m/s}$
Vertical motion of packet
$\text{v}_\text{y}=\text{u}_\text{y}+\text{gt}$
$0=100-10\text{t}$
$\therefore\ \text{Total time of }\frac{1}2\text{ flight}=10\text{sec}$ [Total time to reach the top of hill]
So the cannon must be at $\frac{1}2$ the range = horizontal distance in 10sec
$=\text{u}_\text{x}\times10=75\times10\text{m}=750$
Hence, the distance between hill and cannon = 750m
So the distance to which cannon must move toward the hill = 800 - 750 = 50m
Time taken to move cannon in 50m $=\frac{\text{distance}}{\text{speed}}=\frac{50}{2}=25\text{sec}$
Hence, the total time taken by packet from 800m away from hill to reach other side
= 25s + 10s + 10s = 45 seconds.

At O and PY = 0




The man walk throught the sand on the path APQC via straight line, so, time taken by him to go from A to C is
Let pilot drops the bomb t sec before the point Q vertically up the target T. The horizontal velocity of the bomb will to equal to the velocity of the fighter plane, but vertical component of it is zero. So in time t bomb must cover the vertical distance TQ as free fall with initial velocity zero. 
