Tristan has $1.40 worth of nickels and dimes. He has twice as many nickles as dimes. Write a system equation 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.