Suppose they know that the usual metric in $\mathbb{R}^2$ is given by:
$$d((x_0,y_0),(x_1,y_1)) = \sqrt{(x_1-x_0)^2+(y_1-y_0)^2}$$
and given a circle of radius $r$, it's points are of the form $(r \cos \theta, r \sin \theta)$. Then consider the triangle determined by $A = (0,0), B = (a,0)$ and $C$ which is of length say $b$ (located to the left of $A$). Hence, $C$ lies on the circle of radius $b$. Let $\theta$ be the angle made at the segments $\bar{AC}$ and $\bar{AB}$. Then $C = (b \cos \theta, b \sin \theta)$ and so we have:
$$d\big((b \cos \theta, b \sin \theta),(a,0)\big) = \sqrt{(a-b \cos \theta)^2+ b^2 \sin^2 \theta} = \sqrt{a^2+b^2 - 2ab \cos\theta} $$
$$\\$$

Hence, if we set $\textbf{length}(\bar{BC}) = c$ (given above) then $c^2 = a^2+b^2 - 2ab \cos\theta$ and this is the result for Law of Cosines. You can play this game now with other sides be unknown i.e the proof only requires the two facts above.