Mabel paid $2.95 for a granola bar with dimes and quarters. She used 5 fewer quarters than dimes. How many dimes and quarters did she use to pay for the granola bar?