check polar tracking is set to "on" (F10 i think)
enter command "M"
click the line to select it
move cursor in the 'right' direction (you will see dotted lines for 'snapable' polar directions if you move around)
type "5" (or distance required in whatever units you are drawing in)