Let number of single women be ws and number of married women be wm (Hence number of men = wm)
We are told: ws/wm = 2/5
fraction of men: fm = wm/(ws+2wm)
Divide numerator and denominator by wm: fm = 1/(ws/wm + 2), hence fm = 1/(2/5 + 2) or fm = 5/12
.