On Two Free Boundary Problems in Potential Theory