Look at my annotated version of your picture:
Within the limits of what I can see on the picture...
1 is the incoming neutral wire from the mains.
6 is the incoming live wire from the mains, which goes to the switch (out of picture).
7 is the live wire to the motor from the switch.
3 is one connection to the motor.
5 is the other connection to the motor.
Wires 1, 2 and 3 should be connected together.
This will put the mains live (7) to one side of the motor (5), and mains neutral (1) tot he other side of the motor (3),
and the yellow capacitor (which is an X2 rated type) will connect in parallel with the motor.
The lump of white plastic (4) on the end of wire (3) is an insulating sleeve, and should be removed before connecting 1,2,3 together.
When the connection 1,2,3 has been made, it must be insulated well.
Similarly point 5 must also be well insulated.
A general comment which I feel I must make,
the wiring appears to be very poorly made, short ends of wire twisted together and not well fastened.
Good luck!
JimB