Code for Plot2

Code for Plot 2