Notice that I have set up the problems, but I have not solved them. I strongly recommend that you put the appropriate equations into Maple and solve for x. Then make sure that you determine pH, not pOH.