Ariana has $1.40 worth of nickels and dimes. She had twic as many nickels as dimes. Determine the number of nickels and the number of dimes that Ariana has.