To outperform GPT-5 in this case, all the kid needs to do is correctly recognize the syllable stress constraint. Even if they can't quickly compose many such poems, they could still be able to tell when something they've written doesn't match the constraints.