Specify a starting x position and starting y position. Then specify an ending x position and an ending y position. Press the space bar to draw the line. The slope and y intercept are automatically calculated.