These two figures and their measurements are given in "AUTOCAD 2019 training guide" BPB publications on pages- 8 & 9 respectively.
To draw a line - Use command "L " then (enter) from the keyboard or just choose "Line" from Draw Toolbar.
Then specify the first point and decide the direction of it by mouse then, type in the units of length of the line and press enter.
Press "esc" to escape a command.