i usuallt try to dismantle the equipment a little to trace unknown wires.......

the ground is usually very obvious........

the others will go to transformers........just trace them out, I bet you can figure it out fairly easily!!!