i am not assuming any gauge.
the wire gauge is selected according to the maximum running amperes required by the motor.
assuming you utilize a 25 Hp pump. 25 Hp = 18.650 KW.
assuming its a 220 volt, single phase motor, 18650/220 = 84 amperes. which would mean a gauge AWG 4 wire