Nick has 12 coins in his pocket that are either quarters or dimes. He has $1.80 in his pocket in coins. Let x represent the number of quarters and y represent the number of dimes.
The following system of equations represents the situation:
x+y=12 0.25x+0.10y=1.80
How many quarters and dimes does Nick have?