The line given by 2y=4x−2 is dilated by a scale factor centered at the origin. The image of the line after dilation is given by -4x+2y=−6. What is the scale factor of the dilation?