Let $G$ be a graph and let $u$ and $v$ be two nodes of $G$.
(a) Prove that if there is a walk in $G$ from $u$ to $v$, then $G$ contains a path connecting $u$ and $v$.
(b) Use part (a) to give another proof of the fact that if $G$ contains a path connecting $a$ and $b$, and also a path connecting $b$ and $c$, then it contains a path connecting $a$ and $c$.
The thing that stops walks from being paths is loops. So you have to show that if there is one or more loops on a walk, then you can safely remove them all and still have a walk. That walk would then be a path.
For (b), you just have to apply (a): appending the path from b to c at the end of the path from a to b clearly gives a walk from a to c. Why is there also a path?