Choose one sentence that has the same meaning as the root one:
That woman wrote to me so that I gave her some advice.
I gave that woman some advice which she wrote to me.
Some advice was given to me in a letter by that woman.
That woman, who wrote to me, wanted my advice.
That woman wrote to me to advise me.
That woman, who wrote to me, wanted my advice.