Would appreciate very much if someone can help me in the below question.
The ratio of the number of red apples to the number of green apples in a box was 7:6. After twice as many red apples as green apples were sold, the ratio became 3: 4. There were 24 green apples in the box in the end. How many apples were in the box at first?