I am stuck on trying to solve this equation for so long and I can't seem to simplify it. I came across this step in the equation across the internet and am having a hard time trying to process how after removing the square roots we came across the new version of the equation
$$ 4 = 3(-\frac{1}{3x})^{3/2}x + 3\sqrt{-\frac{1}{3x}} + 3 $$
How did this equation above simplified into the following equation below after removing square roots,
$$ -\frac{12}{x} = \frac{64}{9x^2} - \frac{16}{3x} + 1$$
So far I have tried to isolate the square root terms on one side of the equation and then squaring both sides of the equation but this is getting me nowhere. Am I missing some basic steps?. I've also tried straight up taking square on both sides of the equation