How does the sentence end?

The girl has a more difficult time memorizing the song than the poem because the
poem was shorter.