Algebra
posted by Miranda .
In Vanessa's coin bank there are 4 times as many quarters as nickels, 2 fewer dimes than nickels, and 15 pennies. The total amount in the bank is $5.80. How many of each coin are in the bank?
A. Assign a variable to the unknown quantity.
B. Write an equation you can use to find the unknown quantity.
C. Solve and check the equation you wrote. Show your work.

nickels  x
quarters  4x
dimes  x2
5x + 25(4x) + 10(x2) + 15 = 580
solve for x, then sub back into my definitions 
Using that equation it comes up to $5.70 not $5.80..?

In that case your question is flawed.
since x must come out to a whole number ....
5x + 25(4x) + 10(x2) + 15 = 580
5x + 100x + 10x  20 + 15 = 580
115x = 585
x = 5.08...
so there is no solution.
Check your typing 
Thanks. Typing is correct .. Question is flawed. Will let teacher know. Appreciate your help!