A ball is projected so as to reach a height h passes points p and q with velocites v/2 and v/3 where v is the initial velocity with which the body is thrown the distance between p and q in terms of h is