Maria wants to buy some apples and oranges. She knows that 3 apples cost as much as 5 oranges. She buys 9 apples and 20 oranges and spends a total of $38. How much does each apple and each orange cost? Let's think step by step and output the final answer within \boxed{}.
user