\(v_{AB}=\dfrac{s_{AB}}{t_{AB}}=\dfrac{10}{5}=2\left(\dfrac{m}{s}\right)\)
\(v_{BC}=\dfrac{s_{BC}}{t_{BC}}=\dfrac{20}{2}=10\left(\dfrac{m}{s}\right)\)
\(v_{CD}=\dfrac{s_{CD}}{t_{CD}}=\dfrac{40}{10}=4\left(\dfrac{m}{s}\right)\)
\(v_{AD}=\dfrac{s_{AB}+s_{BC}+s_{CD}}{t_{AB}+t_{BC}+t_{CD}}=\dfrac{10+20+40}{5+2+10}=\dfrac{70}{17}\left(\dfrac{m}{s}\right)\)