Answer
4
Work Step by Step
The Fundamental Counting Principle$:$
The number of ways in which a series of successive things can occur is found by multiplying the number of ways in which each thing can occur.
-----------
For the two G-rating slots,
1. The movie for slot 1 can be chosen in 2 ways.
2. The movie for slot 2 can be chosen in 1 ways.
The NC-17 must occupy slot 5.
3. Slot 5 can be chosen in 1 way.
...which leaves slots 3 and 4 for 2 remaining movies
4. The movie for slot 3 can be chosen in 2 ways.
5. The movie for slot 4 can be chosen in 1 ways.
So, the total number of ways is
$2\times 1\times 1\times 2\times 1=4$