A simple question just cant work out which function to use.

A man is on the top of the cliff 125m high. He observes two boats in line with him at angles of depression of 45 degrees and 75degrees. How far are they from each other.

Any help would be great,

Thank You