A segment with endpoints (2, -1) and (4,2) is dilated to the image segment with endpoints (4, -2) and (8,4). What is the scale factor for dilation?