

A Bit of Translation Help Please...
I got this exercise tonight, and my initial thought at the translation was "She cooked tomatoes while reading a poem." But, I didn't have those particular verbs to get that answer.
Based upon the boxes that Duo provided for the answer, I'm being told the correct translation for the exercise (according to Duo) is "She read a poem while cooking tomatoes." I pretty much guessed at what Duo was looking for, and I ended up getting it correct, only because of the boxes I had available to me.
But, I'm a bit lost. Wouldn't the answer that Duo says is correct be translated to, "Leyó un poema cocinando los tomates"? That's not even close to what the exercise reads.
I want to flag this, but I also want to be sure I'm correct. Thanks for any help.