A container is $\frac45$ full. After $3$ liters of its contents are poured out, the container is $\frac34$ full. How many liters would need to be poured back in to refill the container?
I have tried to solve it this way: $$\frac45x = 3-\frac34x$$
But it seems to give a wrong answer.