writing equations of lines (slope, etc)