Independently verified solution.
The source price is 12 apples for $10. 48 apples require 48 ÷ 12 = 4 bundles, costing 4 × $10 = $40.
Total ratio parts = 5 + 2 + 1 = 8. One part = $40 ÷ 8 = $5. The largest share is 5 parts, so its cost is 5 × $5 = $25.
Check: the three shares are $25, $10 and $5, totaling $40.