In his pocket, Hamid has $2.95 in dimes and quarters. If there are 16 coins in total, which system represents the number of dimes and quarters that Hamid has?
A. x + y = 16. 0.10 x + 0.25 y = 2.95.
B. x + y = 16. 0.05 x + 0.25 y = 2.95.
C. x + y = 2.95. 0.10 x + 0.25 y = 16.
D. x + y = 16. 0.01 x + 0.25 y = 2.95.