Make that .04. And there are so, so many other variables. I have two lightweight underpowered e-bikes, a 40-pound throttle-only front hub drive kit bike and a 46-pound mid-drive eMTB, both are probably around 40nm, both are 250 watt.
Off the line on pavement, there is no question that the hub drive is zippier. The hub drive is also zippier when cornering on flat terrain-- with a human delivering power to the rear wheel, and the motor delivering power to the front wheel, even a tiny little motor is crazy fun... you enter the curve faster, and just as you reach maximum lean, where you can't pedal anymore without a pedal strike, just nudge the throttle a bit so that front wheel pulls you out of the turn at a speed you simply couldn't reach either unpowered on a mid drive (at least where it's flat.)
Going downhill on pavement, however, the mid-drive is heavier, more stable, and better balanced, and 40nm feels like a motorcycle-- snap through the gears quickly at max assist, and to me, the acceleration feels really dramatic-- it takes only seconds to get past 20 MPH. The bottom of the big hills here would be maybe 35 MPH on the kit bike, but it's 43 MPH on the mid drive.
Sure, most of the reasons it's so much faster have nothing to do with the motor, it's the weight, the geometry, rolling resistance, etc. But hub drives do tend to be set up more like touring or gravel bikes, and eMTBs are more likely to be mid drives. I couldn't even compare the two on dirt, because the kit bike can't manage some of the terrain the eMTB can.