The correct option is B he/his
The first blank indicates that the pronoun is doing the action of homework. Hence a subjective pronoun must be used in third person singular masculine, that is, "he". The second blank indicates possession in third person singular subjective, that is, the third person's homework , hence "his". Hence, Option B is correct. The rest of the options do not adhere to this rule, hence incorrect.