how do i find the length of the straight lines