A bin in the gym holds 40 balls, which are a mix of
basketballs, soccer balls, and dodgeballs. The ratio
of basketballs to soccer balls is 3:1. The ratio of

soccer balls to dodgeballs is 1:4. How many basket-
balls are in the bin?