Line AB has a length of 5 cm. The line segment is dilated to produce line A'B', which has a length of 2 cm. Find the scale factor of the dilation. A: k = 2/5 B: k = 1/2 C: k = 5/2 D: k = 2