Prove that the point \(X\) lies on the line \(AB\) if and only if \(\overrightarrow{OX} = t \overrightarrow{OA} + (1 - t) \overrightarrow{OB}\) for some \(t\) and any point \(O\).
Several points are given and for some pairs \((A, B)\) of these points the vectors \(\overrightarrow{AB}\) are taken, and at each point the same number of vectors begin and end. Prove that the sum of all the chosen vectors is \(\vec{0}\).
On the sides \(AB\), \(BC\) and \(AC\) of the triangle \(ABC\) points \(P\), \(M\) and \(K\) are chosen so that the segments \(AM\), \(BK\) and \(CP\) intersect at one point and \[\vec{AM} + \vec{BK}+\vec{CP} = 0\] Prove that \(P\), \(M\) and \(K\) are the midpoints of the sides of the triangle \(ABC\).