Devont had a handful of dimes and quarters in his pocket. He counted 41 coins and realized they were worth $7.55. Write and solve a system of linear equations to determine the number of dimes and quarters Devont had.