.
You own a hamburger franchise and are planning to shut down operations for the day,
but you are left with 12 buns, 15 defrosted beef patties, and 11 opened cheese slices.
Rather than throw them out you decide to use them to make burgers that you will sell at a discount.
Plain burgers each require 1 beef patty and 1 bun,
double cheese burgers each require 2 beef patties, 1 bun, and 2 slices of cheese,
while regular cheeseburgers each require 1 beef patty, 1 bun, and 1 slices of cheese.
How many of each should be made?
~~~~~~~~~~~~~~~~~
Format the input information as I did it for easy reading.
Then write a system of equations as you read the problem
1P + 2D + 1R = 15 (1) (counting beef patties)
1P + 1D + 1R = 12 (2) (counting buns)
0P + 2D + 1R = 11 (3) (counting slices of chees)
Here P = # of Plain burgers, D = # of Double cheese burgers and R = # of Regular cheeseburgers.
Next use your calculator, or free of charge online solvers, or your skills in solving matrix equations.
I used an online solver at web-site www.reshish.com and got the answer
X = 4, Y = 3, Z = 5.
ANSWER. 4 Plain burgers, 3 Double cheese burgers and 5 regular cheeseburgers.
Solved, with explanations.