Look at the wiring diagram on the back of the door and /or electrical box cover. There should be marked terminals, H=herm, F=fan and C=common on the old capacitor. Look for them carefully B4 removing the wires.
Most likely the thinner Brown goes to the fan motor and the F terminal, Thicker Blue (trace it) to the compressor and H and the 2 yellows to the contactor and C.
"Cut it twice and it is still too short".