Generally efficiency is the ratio of the energy or power utilized usefully to the energy or power given as input to the device.
So efficiency in this case = 50/75 = 2/3
Usually efficiency will be given in percentage. So multiplying 2/3 by 100 we get 66.7% as the efficiency of the machine.