This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Take the lines $y=0$ and $y=5$ and $P(0,1)$. Let $Q=(q,0)$; rotating $Q$ about $P$ by $60^\circ$ gives $R$ with $y_R=1+\frac{\sqrt3}2q-\frac12=5$, so $q=3\sqrt3$. Then $(QR)^2=(PQ)^2=q^2+1=28$. Answer: 28.