Two birds start flying from the tops of two towers 50 feet apart, one 30 feet high, the other 40 feet high, starting at the same time and tat the same rate. They reach the center of a fountain between the towers at the same time. How far is the fountain from each tower?

please, help me i couldn't solve it

ive added an image to make it clear.

thank you