Answer:
a.) A= [RRR, LLL, SSS]
b.) B=[RLS, RSL, SRL, SLR, LRS, LSR]
c.) C=[RRL, RRS, RSR, RLR, SRR, LRR]
e.) D'= C' = [RRR, LLL, SSS, RLS, RSL, SRL, SLR, LRS, LSR, LLR, LLS, LSL, LRL, SLL, RLL, SSL, SSR, SLS, SRS, RSS, LSS]
Explanation:
If three consecutive vehicles are considered with their direction as R, L and S, then
a.) when the three vehicles go in same direction, A= [RRR, LLL, SSS]
b.) When the three vehicles take the different direction, B=[RLS, RSL, SRL, SLR, LRS, LSR]
c.) when exactly two vehicles turn right, C=[RRL, RRS, RSR, RLR, SRR, LRR]
d.) repeated question of C above.
e.) D'= C' = [RRR, LLL, SSS, RLS, RSL, SRL, SLR, LRS, LSR, LLR, LLS, LSL, LRL, SLL, RLL, SSL, SSR, SLS, SRS, RSS, LSS]