Answer:
The number of different patterns of lighting that can be set up is 9,765,625.
Explanation:
The options of each light switch are:
S = {Switch OFF, Red, Green, Yellow and Blue}
There are 5 ways a single light switch can be controlled.
There are 10 separate lights.
Each light has 5 options to operate.
And each light switch is independent of the others,i.e. if one light is red the other can be any of the 5 options.
Then the 10 lights has:

Thus, the number of different patterns of lighting that can be set up is 9,765,625.