The second image is the capacitor connected to the red and brown shown in the first image.
There are 4 wires connected to the motor coloured white, yellow ,blue and black respectively. White wire has a high speed label. Yellow has a medium speed label and blue has a low speed label.
I have no knowledge about motors. Hope someone can enlighten me on the:
Type of motor that this is and,
How to connect it directly to the electrical main?