Complex sentence: Hogg soon became very attracted to Harriet, and often spent time alone with her whenever Percy asked to write in solitude.
Split into simpler sentences: Hogg soon became very attracted to Harriet, however. He often spent time alone with her whenever Percy asked to write in solitude.