which problem is best represented. by the following system

A- Roger has 12 coins in dimes and nickels. there are 5 more dimes than nickels
B- roger has 5 coins in dimes and nickels . there are 12 more dimes than nickels.