plot 2 solution