finish problem2c