Let the chemist mix 'x' litres of the first solution and 'y' litres of the second solution.
Given that the resulting solution is 60 litres,
![x+y=60\ldots(1)](https://img.qammunity.org/2023/formulas/mathematics/college/ifws9zhqr84cf7j22m5io0eb9f33h8wm6u.png)
Consider that the first solution is 45% concentrated, so the amount of salt in 'x' litres of the first solution will be 45% of 'x',
![\begin{gathered} =(45)/(100)\cdot x \\ =0.45x \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/mdy8865gxax548fkmg53cnlg0f3umuhq15.png)
Similarly, the second solution is 30% concentrated, so the amount of salt in 'y' litres of the second solution will be 30% of 'y',
![\begin{gathered} =(30)/(100)\cdot y \\ =0.30y \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/qpic3ooyay1v9t1i5n980bgsajia4oyyeu.png)
The resulting solution is 40% concentrated, so the amount of salt in 60 litres of the resulting solution will be 40% of 60,
![\begin{gathered} =(40)/(100)\cdot60 \\ =24 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/o6kdbrb8t97isdvp0f3pz19yrfftzs54c2.png)
Since the amount of salt must remain the same before and after the mixing, the sum of amounts of salt from the first and second solution should be equal to 24,
![\begin{gathered} 0.45x+0.30y=24 \\ 3x+2y=160\ldots(2) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/uxyht7ylr0zn57xb5b7bwigxgr6dlce5dt.png)
Multiplying equation (1) by 2 and subtracting from equation (2),
![\begin{gathered} (3x+2y)-2(x+y)=160-2(60) \\ 3x+2y-2x-2y=160-120 \\ x+0=40 \\ x=40 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/qbkxkf408q295knvjb0ggiyq5c1m76pixs.png)
Substitute this value in equation (1),
![\begin{gathered} 40+y=60 \\ y=20 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/6arb35n19c2h75i29pg6fb60wa0ipisvdw.png)
Thus, it can be concluded that the chemist mixed 40 litres of the 45% solution and 20 litres of the 30% solution.
Therefore, 4th option is the correct choice.