If she has p pennies, n nickels, and d dimes, then:

or

Multiply the second equation by 100:

Multiply the first equation by and add to the above:

Multiply the third equation by 2 and add to this: or

From the third equation , and from the first equation .