Edited because I need more help than the linked "duplicate" provides.
ORIGINAL QUESTION:
This is a problem from a past complex analysis qualifying exam and I'm studying for my own qual next month. I'm not quite sure how to approach this one.
Problem:
Suppose $f(z)$ is an analytic function that maps the unit disc into itself and has zeros at $\frac{i}{2}$ and $-\frac{i}{2}$. Determine the largest possible value of $|f(1/2)|$ and give an example of a function $f$ that attains your upper bound.
What I've tried/considered:
We know by the maximum modulus principle that the function attains its maximum on the boundary, thus since it maps from the unit disc to the unit disc, the max on the boundary is 1. But what we need is the maximum at $|z| = 1/2$.
I thought about using the Schwarz Lemma, but it doesn't seem like we have $f(0)=0$ here. I considered using the argument principle, but there are zeros on the circle of radius ½.
I think I can use the Schwarz-Pick Theorem (though I’m not sure how I’d remember this specific one on a qual?) to get a bound such that $|f(1/2)|<= \sqrt{8/17}$ but I’m not sure if that is right, and if it is right, I haven’t been able to figure out a function that attains this value?
EDIT TO REQUEST ADDITIONAL HELP:
The question was closed, stating that itt is simply a special case of this. However, I do not understand how to apply it. Perhaps the suggestion is that the bound I'm looking for can be found using the zeros at $z_1 = \frac{i}{2}$ and $z_2 = -\frac{i}{2}$ by
$$ |f(z)| \leq \prod_{k=1}^n \left\vert \frac{z-z_k}{1-\bar{z_k}z} \right\vert = \left\vert \frac{z-i/2}{1+(i/2)z} \right\vert \left\vert \frac{z+i/2}{1-(i/2)z} \right\vert = \left\vert \frac{4z^2+1}{z^2+4} \right\vert $$
and thus $$ \left\vert f\left(\frac{1}{2}\right)\right\vert \leq \frac{8}{17}. $$
Is this correct? If this is the case, two questions remain for me:
(1) Is this inequality found in some lemma or theorem that I should know to use? As stated in my question, I was struggling to find which theorem applies and why.
(2) If this is the correct maximum, how do I find an example of a function $f(z)$ which attains this value at $f(1/2)$? I am new to this kind of problem, so would really appreciate a clear and complete answer if possible.