Jim,
you're absolute correct as power = work / time and work = force * distance. Force increases with the square of total air speed (ground speed plus headwind speed if you're heading directly into the wind). Therefore the equivalent still air speed in my example is the 3rd root of ((42 kph)^2 * 10 kph) which is ~26 kph, as you say.
I stand corrected and educated!