How did the cotton gin transform agriculture in the South? A. It allowed farmers to profit from short-staple cotton. B. It reduced the number of acres devoted to cotton. C. It increased the time needed to clean cotton. D. It eliminated the need for slaves.