Assignment 2 Theoretical Part Solution