To solve this type of question we need to form 2 equations of 2 variables and solve them to find the 2 variables
Let x is the number of the large drinks and y is the number of the medium drinks
Since the restaurant sold 52 drinks, then
Since the cost of the large drink is $2.75 each, then
The cost of the large drinks is 2.75(x)
Since the cost of the medium drink is $2.15 each, then
The cost of the medium drinks is 2.15(y)
Since the total cost of them is $131.60, then
Add 2.75(x) and 2.15(y) and equate the sum by 131.60
Now we have a system of equations to solve it
Multiply equation (1) by -2.75 to make x equal in values of the two equations and different in signs to eliminate it
Add equations (2) and (3)
Divide both sides by -0.6
They sold 19 medium drinks yesterday