Liquid A has 10 grams of element X per liter. Liquid B has 15 milligrams of element Y per [FONT=MathJax_Math-italic]c[FONT=MathJax_Math-italic]m[/FONT][FONT=MathJax_Main]3[/FONT][/FONT] (there are 1000 milligrams in a gram and 1000 [FONT=MathJax_Math-italic]c[FONT=MathJax_Math-italic]m[/FONT][FONT=MathJax_Main]3[/FONT][/FONT] in a liter). It is desired to make 80 grams of molecule Z. To make 18 grams of Z requires 2 grams of X and 16 grams of Y. How many liters of each liquid should be used?