create plot for 2nd question