In this potentiometer, for zero galvanometer reading, the potential at P must equal the potential at the junction between the 6Ω and 4Ω resistors.
The voltage distribution across the resistors is Vjunction=E×6+46=0.6E from point A.
Since the potentiometer wire is uniform with length 50 cm, the potential distribution is also uniform.
Therefore, ABAP=106, giving AP=50×0.6=30 cm.
