Scripts an plots for the first three questions