Gears And Chains

Combine the details of the same color to ensure that they start spinning. Good luck in solving this puzzle!