Justin has a total of 50 coins that are all nickels and quarters. He has 10 more nickels than quarters. How many of each coin does Justin have?

n = Number of nickels

q = Number of quarters

He has 10 more nickels than quarters mean :

n = q + 10

Justin has a total of 50 coins that are all nickels and quarters mean :

n + q = 50

n = q + 10 so :

n + q = 50

q + 10 + q = 50

2 q + 10 = 50 Subtract 10 to both sides

2 q + 10 - 10 = 50 - 10

2 q = 40 Divide both sides by 2

q = 40 / 2 = 20

n + q = 50

n + 20 = 50 Subtract 20 to both sides

n + 20 - 20 = 50 - 20 = 30

30 nickels and 20 quarters