She said to me, "I wrote a poem on the mother's day".
She said to me, "I wrote a poem on the mother's day".
Explanation
In indirect speech, the past simple tense (wrote) changes to past perfect (had written).
Hence, the correct indirect sentence is: She told me that she had written a poem on the mother's day.