It is given that there are two types of milk.
One is 3.5% and one is 0%.
Let the number of cups of 3.5% milk be x and the number of cups of 0% milk used be y.
The total should be 3 cups so it follows:
![x+y=3\ldots(i)](https://img.qammunity.org/2023/formulas/mathematics/college/4s9p63ziejr48y6l1dp4aozbiv8hi9pidg.png)
It is also known that the resulting milk is 2% so it follows:
![\begin{gathered} (3.5)/(100)x+(0)/(100)y=(2)/(100)(x+y) \\ (3.5)/(100)x=(2)/(100)(x+y) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/zcjjmv1pbi4wl59fy9nzyfx4yonggo344o.png)
Multiply by 100 on both sides to get:
![\begin{gathered} 3.5x=2(x+y) \\ 3.5x=2x+2y \\ 1.5x=2y \\ x=(2)/(1.5)y \\ x=(2*2)/(1.5*2)y \\ x=(4)/(3)y \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/v3v65a9i0fptkbmnt705zcon4sxiadw3u7.png)
Substitute the value of (ii) in (i) to get:
![\begin{gathered} x+y=3 \\ (4)/(3)y+y=3 \\ (4+3)/(3)y=3 \\ (7)/(3)y=3 \\ (3)/(7)*(7)/(3)y=(3)/(7)*3 \\ y=(9)/(7) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/3a8adk1bw6c0bt23scat8qg3wa5drmtf0p.png)
Hence the quantity of 0% milk is 9/7 cups.
The quantity of 3.5% milk is given by:
![\begin{gathered} x=(4)/(3)y \\ x=(4)/(3)*(9)/(7) \\ x=(12)/(7) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/djzexvsozrm1hn7ixkqmspc8vl194m4fbu.png)
Hence the quantity of 3.5% milk is 12/7 cups.