Hello I am trying to determine the probability that Team1 beats Team2

Ex.

Team1 30wins 20loses chance to win: 0.6
Team2 25wins 25loses chance to win: 0.5

What is the formula to determine the probabilty Team1 wins?