I think it is B:

Select the sentence that illustrates the proper use of parallel structure.

Tomorrow I have to walk the dog, writing an essay, and mail a letter.
Tomorrow I have to walk the dog, write an essay, and mail a letter.
Tomorrow I have to walk the dog, write an essay, and I have to mail a letter.
Tomorrow I have to walk the dog, to write an essay, and mail a letter.