After draining x quarts the amount of pure antifreeze in the remaining fluid is 20% of 8-x, that is, 0.2(8-x). The amount of pure antifreeze added is x quarts, and the amount of pure antifreeze in the new solution is 50% of 8 quarts=4 quarts. Therefore, 0.2(8-x)+x=4, 1.6-0.2x+x=4, 0.8x=2.4, so x=3 quarts. So 3 quarts is drained off.