First, I think the question is approximating the path of the coconut as linear (it'd have to be thrown pretty fast for that!). Assuming that, it's just geometry:
Draw a trapezoid with the monkey, the base of the tree, and the 2 m tall person. Complete the triangle by joining together the lines from the monkey to the human's head and from the base of the tree to the human's feet to SOME point behind the human. (I swear this is much easier if you draw it out)
You'll see a "triangle within a triangle" relationship; because the triangles are similar, the following relationship holds:
Height of Human/Height of Tree = Length from tree to human/Length from tree to the point behind human
2/4 = 3/x
x = 6 m
Sorry for any confusion, but drawing it out will be much clearer!