j4 + m3 = p
If you multiply j, which is the number of jumbo popcorns sold by its price, you are given the profit of the Jumbo boxes for a single day. If you multiply m, which is the number of mini popcorns sold by its price, you are given the profit of the Mini boxes for a single day. If you add the profits from both boxes together... you are given p, which is the total profit for the day.