Hannah has $2 worth of dimes and quarters. She has a total of 17 dimes and quarters altogether. By following the steps below, determine the number of dimes, x,x, and the number of quarters, y,y, that Hannah has.