How to Fill Specific Range of a Function with Layouts?

This is the plot of the code:

I want the fill of both plots to be from 0 to 2 \pi not from - 2 \pi to 2 \pi

How to add subplot=1 in the code?