Let the number of soft-serve be x and the number of hard-pack be y.
The total number of cones ordered is 91. Thus,
The price of soft-serve is $2.25 each. Thus, for x number of soft-serve, we have
Similarly, the price of hard-pack is $0.75 each. Thus, for y number of hard-pack, we have
The total bill was $158.25. This implies that
price of x soft-serve + price of y hard-pack = total bill
Solve for x and y simultaneously in equations 1 and 2.
Solve by the method of substitution.
From equation 1,
Substitute equation 3 into equation 2.
Substitute the value of 60 for x in either equation 1, 2 or 3.
Substitution into equation 3, we have
Hence,
the number of soft-serve ordered is 60,
the number of hard-pack is 31.