Answer:
First we must know the efficiency of the gearbox in which energy is lost by friction between its components, we divide this efficiency by the nominal power and find the real power.
With this value knowing the speed of rotation of the gearbox we select an engine that has a power just above.
Also keep in mind that the motor torque must be greater than the resistance offered by the gearbox and the 0.5Kw machine