solutions to homework six 4099401