They sold 22 boxes of berry bars and 26 boxes of raisin bars.
Explanation
Total number of granola bars sold = 1152
Number of berry bars sold = 528
So, the number of raisin bars sold = (1152 - 528) = 624
The granola bars came in boxes of 24 bars.
Suppose, the number of boxes of berry bars is [tex]x[/tex] and the number of boxes of raisin bars is [tex]y[/tex]
So, the equations will be......
[tex]24x=528\\ \\ x=\frac{528}{24}=22\\ \\ and\\ \\ 24y= 624\\ \\ y=\frac{624}{24}=26[/tex]
Thus, they sold 22 boxes of berry bars and 26 boxes of raisin bars.