Answer:
Lily has 10 dimes and 7 quarters
Explanation:
Let x be the number of dimes and y be the number of quarters Lily has in her pocket.
If there are 17 coins in all, then

The amount in dimes is 10x cents, the amount in quarters is 25y cents. Lily has $2.75 = 275 cents in her pocket, then

From the first equation,

Substitute it into the second equation:

Lily has 10 dimes and 7 quarters