Two players are stand on a basketball court. The angles of elevation from the foot of each player to the 3.5 meters high basket are 40° and 50°. How far apart are the players from each other?

Please try to answer it with a trigonometric function