Let the girl has 'x' dimes and 'y' quarters.
Consider the following conversions,
Given that the number of dimes is six times the number of quarters,
Also, it is given that the total worth is $37.40,
Then the value of 'x' is obtained as,
Thus, the girl has 264 dimes and 44 quarters.