Complex sentence: While he was a boy he lost his father and had to contribute to the family resources by spinning yarn, learning to spin on James Hargreaves's spinning jenny.
Split into simpler sentences: While he was a boy, he lost his father, and had to contribute to the family resources by its spinning yarn. He learnt to spin on James Hargreaves's spinning jenny.