In which two sentences are all the clauses placed correctly?

Answer choices for the above question

A. I about half finished the work while you were taking care of your dog at home.

B. I finished about half the work while you were taking care of your dog at home.

C. I about half finished the work while you were at home, taking care of your dog.

D. Taking care of your dog, I about half finished the work while you were at home.

E. I finished about half the work while you were at home, taking care of your dog.

F. Taking care of your dog, I finished about half the work while you were at home.

The two sentences with all the clauses placed correctly are:

B. I finished about half the work while you were taking care of your dog at home.

E. I finished about half the work while you were at home, taking care of your dog.