I have a proof for A and question for B
For part a), basically we want to apply Parseval's identity to $f$ and compare to its derivative. T-periodic, continuous and piecewise $C^1$ imply that $f$ and $f'$ are square integrable. So, we can apply Parseval's identity to both of them. Let $$f\sim \sum_{}{} a_ne^{2n\pi it/T } (\text{ so, } f'\sim \sum_{}^{} a_n2n\pi i/Te^{2n\pi it/T }).$$
Then, Parseval's identity; $\|f\|^2=\sum_{n=-\infty}^{\infty} |a_n|^2 $, implies
$$\frac{4\pi^2}{T^2}\Big(\frac{1}{T}\int_{0}^{T}|f|^2dt \Big)=\frac{4\pi^2}{T^2} \Big(\sum_{n=-\infty}^{\infty} |a_n|^2 \Big)\leq \sum_{n=-\infty}^{\infty} \Big|\frac{a_n2n\pi}{T}\Big|^2=\|f'\|^2=\frac{1}{T}\int_{0}^{T}|f'|^2dt, \text{ with equality iff $n=1.$}$$
Remark: The condition $\int_{0}^{T}f=0$ implies $a_0=0$, so, the above inequality is valid for all $n$.
For part b), I try to use the result from part A. From Cauchy-Schwarz Inequality; $|(f,g)|\leq \|f\| \cdot \|g\|,$
$$\Big|\frac{1}{T}\int_{0}^{T}\overline{f}g \ dt \Big|^2\leq \frac{1}{T^2}\int_{0}^{T}|f|^2dt\int_{0}^{T}|g|^2dt. $$
Thus, $$\Big|\int_{0}^{T}\overline{f}g \ dt \Big|^2\leq \int_{0}^{T}|f|^2dt\int_{0}^{T}|g|^2dt.$$
Here, it seems the result is intermediate if $g$ has the same property that $f$ had in part A. But, this $g$ is just T-periodic and $C^1$. Can we still reach the same result?

Use Plancherel to write the inner product in Fourier space, and then use Cauchy-Schwarz.