Railroads and factories used coal as an energy source because it was cheap and there was a big supply of it.
(Railroads and factories; used; coal; as an energy source; because it was cheap and there was a big supply of it) (it; was; cheap)
Railroads and factories it
used was
coal as an energy source because it was cheap and there was a big supply of it
cheap