Ответ:

По рисунку: \(\vec a=(4-1;8-4)=(3;4)\), \(\vec b=(8-1;2-1)=(7;1)\).

\[\vec a\cdot\vec b=3\cdot7+4\cdot1=21+4=25.\]

Ответ: 25.