Click daatask4_1sol.pdf link to view the file.