homework for the former two chapters