Assignment:
Sam found a number of nickels, dimes, and quarters in his room. He found 6 more dimes than nickles but three times as many quarters as dimes. The total of coins was $11.40. How many coins of each did Sam find?
Provide complete and step by step solution for the question and show calculations and use formulas.