Say, n is number of cars, x is the average length of a car, and t is the duration of each light.
Then the average speed of the traffic is,
nx2t=5 ...(1)
The duration of the green light is increased to 2t. This implies,
v=2nx3t ...(2)
By (1) & (2)
v=23×10=6.666