Mandatory problems in second homework are solved