Let the speed of the instrument package is v when it grazes the surface of the planet.
Conserving angular momentum of the package about the centre of the planet `mv_(0)xx5R sin (pi - theta) = mvR sin 90^(@)`
Conserving mechanical energy
`- (GMm)/(5R)+(1)/(2)mv_(0)^(2)=-(GMm)/(R )+(1)/(2)mv^(2)`
`rArr (1)/(2)m(v^(2)-v_(0)^(2))=(4GMm)/(5R)`
`v^(2)-v_(0)^(2)=(8GM)/(5R)`
substituting the value of v from equation (I) in equation (ii)
`25 v_(0)^(2) sin^(2)theta-v_(0)^(2)=(8GM)/(5R) rArr sin theta (1)/(5) sqrt(1+(8GM)/(5v_(0)^(2)R))`
or `theta = sin^(-1) [(1)/(5)sqrt((1+(8GM)/(5v_(0)^(2)R)))]`