If you have already computed the density curves, use the SERIES plot to plot the values by providing the X…