They sold 22 boxes of berry bars and 26 boxes of raisin bars.
Step-by-step 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
and the number of boxes of raisin bars is

So, the equations will be......

Thus, they sold 22 boxes of berry bars and 26 boxes of raisin bars.