The emission and propagation of ∼ 40keV solar flare electrons