CES First order Condition with two labour types
Simply multiply and divide one $\left(a_{F} \boldsymbol{F}\right)^{\frac{(\sigma-1)}{\sigma}}$ in the bracket and then take one outside the bracket. And by the way your FOC is incorrect in that $\frac{\sigma}{(\sigma-1)}$ should be cancelled out.