Assignment 4 Theoretical Part Solution