Original: Haydn took two years to complete the work.
Simplified: Haydn took two years to write the music.