$解:(2)當(dāng)點(diǎn)E在AB的延長(zhǎng)線上時(shí),如圖$
$∵BE=2\ \mathrm {cm},點(diǎn)F 是BE的中點(diǎn)$
$∴BF=\frac {1}{2}BE=1\ \mathrm {cm}$
$∴DF=BD+BF=5+1=6\ \mathrm {cm}$
$當(dāng)點(diǎn)E在線段AB上時(shí),如圖$
$∵BE=2\ \mathrm {cm},點(diǎn)F 是BE的中點(diǎn)$
$∴BF=\frac {1}{2}BE=1\ \mathrm {cm}$
$∴DF=BD-BF=5-1=4\ \mathrm {cm}$
$綜上所述,線段DF 的長(zhǎng)為6\ \mathrm {cm}或4\ \mathrm {cm}$