Ответ:
Задание 1.
Fred said He had invented a new computer program.
They told me They had been really happy.
She said she lived in a big apartment.
He told her he was going to the fish market.
Betty said she had found her passport.
Задание 2.
Maria wanted to know Where Jim had gone.
They asked What the workers had eaten.
I wandered if Sam had ever been to China.
I asked When the next train would arrive.
I asked if Mrs. Smith grew flowers in her garden.