Let x l of the mixture be taken from Ist vessel & y l of the mixture be taken from 2nd vessel and kept in 3rd vessel so that (x + y) l of the mixture in third vessel may contain 25 l of milk & 10l of water.
A mixture of x l from 1st vessel contains 24/30 x 4/5 x l of milk & x/5 l of water and a mixture of y l from 2nd vessel contains 3y/5 l of milk & 2y/5 l of water.
So, 4/5x + 3/5y=25 .....(i)
x/5+2/5y=10 ......(ii)
Solving (i) & (ii) x = 20 litres and y = 15 litres.