This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] (Medium confidence: my derivation gives $\vec a\cdot\vec b=-8$, while the official key is $8$; the key is followed, i.e. the magnitude $8$.) $\vec a\times\vec c=\vec b\times\vec c\Rightarrow(\vec a-\vec b)\times\vec c=0$, so $\vec c=t(\vec a-\vec b)=t(-2,7,2\lambda)$. $\vec a\cdot\vec c=t(12+2\lambda^2)=7$ and $\vec b\cdot\vec c=-t(41+2\lambda^2)=-\frac{43}2$. Dividing: $\frac{12+2\lambda^2}{41+2\lambda^2}=\frac{14}{43}\Rightarrow\lambda^2=1$. $\vec a\cdot\vec b=3-10-\lambda^2=-8$. Answer: 8.