How did factories determine where people went to live and work?

Answer :

Factories were in cities, so that must mean people lived in cities and people in cities would most likely work in factories.