A teacher buys packs of notebooks to give to their students. The tape diagram represents the ratio of brown notebooks to red notebooks. Brown notebooks Red notebooks Based on the ratio, if there are 24 red notebooks, what is the number of brown notebooks?