You simply analyze the bar graph.
At the weight 1 to 2 pounds, there are 2 cantaloupes.
At the weight 3 to 4 pounds, there are 5 cantaloupes.
At the weight 5 to 6 pounds, there are 8 cantaloupes.
At the weight 7 to 8 pounds, there are 9 cantaloupes.
Adding the total cantaloupes yields
2 + 5 + 8 + 9 = 24 cantaloupes
Hope this helps ☺️ ✌️