Alexandre
Forgot to say that I suggested CPC (over ebay) as they sell 'real' and high quality components.
I’ve removed the capacitor from the pump and forgot to record the wire positions
Ouch.
And hard for us to recomend from a distance (and even if looking a motor).
So FYI as there are three wires going to the motor
it looks like you might have a "3 phase motor running on one phase power".
If this is the case lots of Circuit diagrams here:
https://www.google.com/search?q=3+phase+motor+on+one+phase
https://www.electricneutron.com/electric-motor/use-three-phase-motor-single-phase-power-supply/
The existing 1 wire from the power, going to 1 wires of motor is okay and corerct,
So you have remaining:
1 wire from the power, and 2 wires to the motor to sort out.
And to finish the wiring you have to have:
1 wire from the power, going to one of the two reminaing wires to the motor.
and
the Capaciator is connected between "one of the power wires" and "a motor wire that is not connected to a power wire".
I
guess that the Red motor lead goes into the white teminal that does not have a wire going into it.
That then meamns you have both power wires going to the motor.
And no Capciator attached.
Q: What is on the end of the middle black motor wire?
Is that a spade terminal?
Q: What is on the end of the white wire that comes from the spade termnial on you old capacitor?
Is that a bare wire?
If it is a spade terminal on the middle black motor lead I would GUESS that the spade goes to one side of the Capciator.
And I would GUESS that the bare end of the White lead from the capcacitor joins the Red motor lead in the terminal block (and this is why the red lead is now loose).
Of course this is all guess work.