Not too much to add. Assume the ground is flat. As a hint, you may want to consider the problem in one dimension.
or