In a football league each team plays with every of the other teams twice. If the number of teams is 5 then what will be the total number of matches?