The correct answer is by adding “studying for” to the beginning.
A parallel construction means that the same form of a word is used throughout a particular sentence. Since we can see that the latter part is 'completing my homework,' it would be good to add a verb to the first part as well, in order to make the sentence parallel. By adding 'studying for,' we've added the same form of a verb (ending in -ing).