Complex sentence: She had been working on what was going to her first novel, which was to be a present for her father.
Split into simpler sentences: She had been working on what was going to her first novel. It was to be a present for her father.