Gavin has nickles, dimes, and quarters in the ratio of 1:3:6 if 57 of Gavin's coins are dimes how many nickels and quarters does Gavin have?