Your picture makes it look as if the wires are connected at the motor end, so that what you need to know is where the wires go on the Forward / Reverse switch on the panel.
Although, not being an electrician, it looks as if the wiring between the motor and switch will need to be revised. The Blue / brown /earth leads will probably only allow the motor to run in one direction, having been fitted to confirm that the motor runs.
For Forward / Reverse operation, I would expect the Brown and Blue leads to be connected to the switch, so that it can determine where the current should go, for each direction of rotation.
I would guess that the switch will change over the connections to the start winding?
Don't take my word for it. Ask some one who REALLY knows
Howard
Howard