I remember an engineering test (all of ours in college were open book) where there was a long description of a motor driven system, frictions, efficiencies, etc. At the end it wanted to know the max cooling that was needed.

The motor power was given up front. Cooling can't be more than the motor power. Done.