Sarah has a total of 30 coins consisting of dimes and quarters. The total value of the coins is $5.40. How many dimes and how many quarters does she have? Let's think step by step and output the final answer within \boxed{}.
user