?? What does the moon have to do with this??
First, the initial velocity can't be 0 or the kangaroo will never get off the ground! The velocity of the kangaroo will be v= vi+ at at any time t (constant acceleration a so change in speed= at). The kangaroo will continue to go up until its velocity is 0 (of course, a= -9.8 m/s2 here). That is, the kangaroo will reach its greatest height when vi- 9.8t= 0 or t= vi/9.8. Yes, that depends on vi. Now put that for "t" in the height formula:xf= xi+ vit- 4.9t2. Taking xi= 0 (the kangaroo starts on the ground) and xf= 2.7 m, you have vi(vi/9.8)- 4.9(vi/9.8)2= 2.7. Solve that for vi and use vi to find the time t at which the kangaroo is at its highest point. As tony873004 told you, the kangaroo will take exactly as long to come down as to go up so its total time in the air is twice its time to the highest point.