standard answer of homework3