If $f\in L^2[0,1]$, and $$g(x)=\int_0^1\frac{f(t)\mathrm dt}{|x-t|^{1/2}},\quad x\in[0,1],$$ show that $\|g\|_2\le2\sqrt2\|f\|_2$.
I tried Minkowski's integral inequality (with $p=1/2$, so the inequality reverses), but cannot reach the inequality I need. I also used Holder's inequality and failed too.
What is the correct approach to solve this problem?
A possible solution steps: