He spent two hours ______ his homework last night. A.to do B