The ILC Damping Ring to the Main Linac beamline (RTML) contains three extraction lines (EL). Each EL can be used both for an emergency abort dumping of the beam and tune-up continual train-by-train extraction. Two of the extraction lines are located downstream of the first and second stages of the RTML bunch compressor, and must accept both compressed and uncompressed beam with energy spreads of 2.5% and 0.15%, respectively. In this paper we report on an optics design that allowed minimizing the length of the extraction lines while offsetting the beam dumps from the main line by the distance required for acceptable radiation levels in the service tunnel. The proposed extraction lines can accommodate beams with different energy spreads while at the same time providing the beam size acceptable for the aluminum dump window.