Answer:

We can solve for x and we got:

And replacing into the water condition we have:

Solving for y we got:


And then solving for x we got:

So we need 60 ml for the solution of 40% saline and 90 ml for the 15% saline solution
Explanation:
We can solve this problem with the following system of equations:
salt
water
With x the ml of solution for 40% concentration and y the ml of solution at 15% of concentration
From the salt condition we have:

We can solve for x and we got:

And replacing into the water condition we have:

Solving for y we got:


And then solving for x we got:

So we need 60 ml for the solution of 40% saline and 90 ml for the 15% saline solution