Sally has only 10-pence and 50 pence coins in her purse. She has 21 coins altogether with a total value of $5.30. Calculate how many of each coin type does she have?