if a bag contains 12 quarters, 6 dimes, and 18 nickles, what is the fraction of quarters to all coins? write your answer in simplest form.