If we replace $7$ litres of the original mixture with $7$ litres of pure milk, we have that the final quantity of milk is: $$ \dfrac{74}{100}(x-7)+7=\dfrac{76}{100}x $$ Solving this equation we find $x$ that is the total (unchanged) quantity of mixture.