"Sara borrowed the book from the library because she needs it for an article she is working on. She writes it when she gets home from work." is a true sentence.

Does this mean that "She writes the book when she gets home from work."?
no