If $f$ is real-valued and continuously differentiable on $\mathbb{R}$, prove that $$ \left(\int|f|^2dx\right)^2\le 4\left(\int|xf(x)|^2dx\right)\left(\int|f'|^2dx\right) $$
Attempt: I tried the Cauchy-Schwarz inequality as well as the Plancherel theorem, but none of them seems to work.