A school cafeteria sells apples and bananas. The total cost for 8 apples and 12 bananas is $20. If the price of an apple is twice the price of a banana, what is the cost of one apple?

### Let's think step by step and output the final answer within \boxed{}.
user