A bag contains​ pennies, nickels,​ dimes, and quarters. There are 50 coins in all. Of the​ coins, 10​% are pennies and ​38% are dimes. There are 8 more nickels than pennies. How much money does the bag​ contain?

PLZ HURRY WILL MARK BRAINLIEST