a pharmacist has a 40% acid solution and has a 25% acid solution. How many liters must be mixed to form 54 liters of a 27 % acid solution?

Ratio of 40% and 25% solutions to form a 27% solution

= 27-25 : 40-27
= 2 : 13
To make 54 litres, we need
54*(2/(2+13)) litres of 40% and
54*(13/(2+13)) litres of 25% solutions.