How about something like this, is that what you are looking for?
(defun draw (pt1 pt2 len)
(if (and pt1 pt2 len)
(progn
(entmakex
(list
'(0 . "LINE")
(cons 10 pt1)
(cons 11 (polar pt1 (angle pt1 pt2) len))
)
)
(entmakex
(list
'(0 . "LINE")
(cons 10 (polar pt2 (angle pt2 pt1) len))
(cons 11 pt2)
)
)
)
)
(princ)
)
(draw
(getpoint "\nFirst point: ")
(getpoint "\nSecond point: ")
(getdist "\nLine Length: ")
)