The stability of the triangular Lagrangian points for commensurability of order two