following the 3,4,5 rule, marking a pipe with an "el" connection, level the two lines and scrape a mark on the top side of the pipes at 2X and 3X the advance of the el, (for an example, a 8" pipe-24" and 36" mark, leaving the head of the measuring tape in contact with the el and top and bottom tacks in place), measure half diameters on both marks and the space between set to 5X the advance = 60"
Just to leave it clear instead of measuring 3 and 4, you measure 2 and 3 taking advantage of the measurement given with the el lined up, adjusting the lines to a square.