HW 4: Part II

This is my answer to Part II of the HW.