4th homework solved