I can answer that question. For CD motors, the measurement is standardised to Bosch method of measurement. no cheating. That is, the rear cog having the same number of teeth as the chainring.
Hub motors torque is affected by the Kv constant, which is proportional to the inverse of motor winding code. So when I say I optimise my motor for 15mph, that means I ask for the winding such that torque is highest at just under 15mph.
As the number of teeth on the rear cog can be selected within a range, you can calculate the torque for each selected speed. The more teeth at the rear, higher the torque.
The Raleigh Motus has 12T-32T cassette, the Active Line as 35T chainring.
So when you are on turbo mode and the granny gear 1, 32T, your maximum torque is 40NM*32T/36T=36NM
And when you shift up to the smallest cog, 12T, you get:
40NM*12T/36T=13.3NM
In comparison, the Camino will give you 42NM across 6mph-15mph, no matter what gear you are on.