2007 WAEC Mathematics Theory Out of the 24 apples in a box, 6 are bad. If three apples are…