“A man has two more nickels than dimes. He has $1.15 in all. How many coins of each kind does he have?”

Which equation can be used to solve the problem?

A: x+x+2=115

B:5x+10(x+2)=115

C:5(x+2)+10x=115