ha-yeled mareh et ha-sefer la-yaldah
הילד מראה לילדה את הספר is also correct
This is not the only way to say it.
Duolingo is being inconsistent about word order, especially regarding direct & indirect objects. But at least this time it didn't ding me for not following the suggested word order above.