A preimage includes a line segment of length x and slope m. If the preimage is dilated by a scale factor of n, what are the length and slope of the corresponding line segment in the image?

A. length=nx, slope=nm
B. length=nx, slope=m
C. length=x, slope=m
D. length=x, slope=nm
E. length=(n+m)x, slope=nm