The electric potential at point P in the diagram above can be expressed as