finish homework 3.1