Since the solubility product of ferric hydroxide has lower value, it will precipitate first, The expression for the solubility product is Ksp=[Fe3+][OH−]3.
Substitute values in the above expression.
4×10−38=0.02×[OH−]3
Henc, [OH−]=1.25×10−12
pOH=−log[OH−]=−log1.25×10−12=11.90.
pH=14−pOH=14−11.90=2.10