Answer:
![Large => L=10](https://img.qammunity.org/2020/formulas/mathematics/high-school/8d2rcwxn6hiz2lun0nc5e55fx5uftuqt7z.png)
![Medium => M=20](https://img.qammunity.org/2020/formulas/mathematics/high-school/p9pzg35lub3l1g7yiq12tyc8zcyzo2w93n.png)
![small => S=40](https://img.qammunity.org/2020/formulas/mathematics/high-school/pxabaagockbmkn5rx9qmtcxizfk703syuf.png)
Explanation:
The number of small lemonades purchased is the number of mediums sold plus double the number of larges sold:
![S=M+2L => S-M-2L = 0](https://img.qammunity.org/2020/formulas/mathematics/high-school/m10v1fpz253b1vpwnpgb9wlyxn79f79pbj.png)
The total number of all sizes sold is 70:
![S+M+L = 70](https://img.qammunity.org/2020/formulas/mathematics/high-school/31fn7cm00dw1mpvar4p5mbi8g8cjser8ai.png)
One-and-a-half times the number of smalls purchased plus twice the number of mediums sold is 100:
![1,5S+2M = 100](https://img.qammunity.org/2020/formulas/mathematics/high-school/xyz6jupwc7mveeqxke8013varb3rvasl7p.png)
The system of equations is:
![S-M-2L = 0\\S+M+L = 70\\1,5S+2M = 100](https://img.qammunity.org/2020/formulas/mathematics/high-school/jzaxwumje6ozscanlmbs6in3cj0uzl1uid.png)
Matrix to solve by gauss-jordan elimination:
![\left[\begin{array}{cccc}1&-1&-2&0\\1&1&1&70\\1.5&2&0&100\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/high-school/i3cs1dbrtts6pc08ccymwdky1vs9pypvy6.png)
Solving from first row:
![\left[\begin{array}{cccc}1&-1&-2&0\\0&2&3&70\\0&3.5&3&100\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/high-school/d9g5gghk4ezoxt33z971gstagft083ehfc.png)
Solving from second row:
![\left[\begin{array}{cccc}1&-1&-2&0\\0&2&3&70\\0&0&-4.5&-45\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/high-school/tdkixvhelggajqsmzucbzvseam9lnqs4su.png)
From this:
![-4.5 L=-45 => L=10](https://img.qammunity.org/2020/formulas/mathematics/high-school/6qy68qc5yizfwxmydbd0zmam81p2p7tefe.png)
![2 M+3*10=70 => M=20](https://img.qammunity.org/2020/formulas/mathematics/high-school/ytyaeqrbkpuybi06e1qtfctyjtf5a30dx3.png)
![S -20-2*10=0 => S=40](https://img.qammunity.org/2020/formulas/mathematics/high-school/v692bmlg3d1ukl4m7zklx4ax56by9yf5mp.png)