If first dissociation of X(OH)3 is 100% whereas second dissociation is 50% and third dissociation is negligible then the pH of 4×10−3 M X(OH)3 is :