Here is the question I was working on: Let $f$ be holomorphic in the open disk $\mathbb{D}$ and suppose $|f(z)|\leq 1$ for all $z\in \mathbb{D}$. If $f(\frac{1}{2})=f(-\frac{1}{2})=0$, prove that $|f(z)|\leq \left|\frac{4z^2-1}{4-z^2}\right|$ for all $z\in \mathbb{D}$.
I defined the maps $g(z)=\frac{z-\frac{1}{2}}{1-\frac{z}{2}}$ and $h(z)=\frac{z+\frac{1}{2}}{1+\frac{z}{2}}$. Both compositions $f\circ g$ and $f\circ h$ send $0$ to $0$, so using Schwarz lemma, I concluded that $|f(z)|\leq \left|\frac{z-\frac{1}{2}}{1-\frac{z}{2}}\right|$ and $|f(z)|\leq \left|\frac{z+\frac{1}{2}}{1+\frac{z}{2}}\right|$ separately. However, the statement given in the problem is stronger, and I couldn't get it. I would appreciate any kind of help. Thanks!