A box contains n quarters and some dimes. The ratio of quarters to dimes is 1:2.
A) Write an expression for the total amount of money in the box.

B) If there are 12 quarters, find the total amount of money in the box.