This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] With $s=\sin^2\theta\in[0,1]$: $f=\frac{s^2-3s+3}{s^2-s+1}=1+\frac{2(1-s)}{s^2-s+1}$, which decreases from $3$ (at $s=0$) to $1$ (at $s=1$). So $[\alpha,\beta]=[1,3]$ and the ratio is $\frac13$. Sum $=\frac{64}{1-\frac13}=96$. Answer: 96.