This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] $P=(t,t-2,t)$ and $Q=(2m-2,m,m)$. $\overrightarrow{PQ}\parallel(2,1,2)$ gives $t=6$, $m=2$: $P=(6,4,6)$, $Q=(2,2,2)$. Distance of $(1,2,12)$ from the line through $Q$ with $d=(2,1,2)$: $v=(-1,0,10)$, $|v|^2=101$, $v\cdot d=18$, $|d|^2=9$. $l^2=101-\frac{18^2}9=101-36=65$. Answer: 65.