Let the number of apples be A. A=1.25×number of oranges, so the number of oranges =A/1.25. 1.25 is 1¼, or 5/4, so the number of oranges=⅘A.
Now, next look at the boxes. When packed in tens the number of apple boxes=A/10 and the number of orange boxes=⅘A/6.
So, Sandy had A/10+2 orange boxes:
⅘A/6=A/10+2.
Therefore 2A/15=A/10+2.
2A/15-A/10=2,
4A/30-3A/30=2,
A/30=2, so A=60, there are 60 apples (filling 6 boxes) and ⅘A=⅘×60=4×12=48 oranges (filling 8 boxes, 2 more boxes than apple boxes).