There are 50 apples and 40 oranges in the cafeteria. If an apple costs $0.80 and an orange costs $0.50, how much does the cafeteria earn for apples and oranges if there are only 10 apples and 6 oranges left?
Counting the remaining 10 apples. There were 50 - 10 = <<50-10=40>>40 apples sold.
Counting the remaining 6 oranges. There were 40 - 6 = <<40-6=34>>34 oranges sold.
The amount of sales for the apples is $0.8 x 40 = $<<0.8*40=32>>32.
The amount of sales for the oranges is $0.5 x 34 = $<<0.5*34=17>>17.
The cafeteria's total earnings are $32 + $17 = $<<32+17=49>>49.
#### 49