Refer to Exercise 4. What is the probability that in a sequence of 10 days, four green lights, one yellow light, and five red lights are encountered?

Step 1 of 2:

Given, at a certain intersection of a traffic light, green is 50% of the time, yellow is 10% of the time and red is 40% of the time.

Let X = number of days that pass up to and including the first time the car encounters a red light.

The claim is to find the probability that in a sequence of 10 days, four green lights, one yellow light and five red lights are encountered.