built plot for part 1
built plot for part2