Tristan has $1.40 worth of nickels and dimes. He has twice as many nickels as dimes. Write a system of equations that could be used to determine the number of nickels and the number of dimes that Tristan has. Define the variables that you use to write the system.