At a football match, 10 men bought either a pie or a cup of
coffee. A pie costs 60p and a coffee costs 50p. The total
amount spent on pies and cups of coffee was £5.80. How many
of each must have been bought? (show all your working)​