A barrel contains a mixture of wine and water in the ratio 3:1. How much fraction of the mixture must be drawn off and substituted by water so that the ratio of wine and water in the resultant mixture in the barrel becomes 1:1?
$\frac{1}{2}$
$\frac{1}{3}$
$\frac{1}{4}$
$\frac{2}{3}$