On the line there are two locations where potential becomes zero.
For P,
\(\frac{5 \times 10^{-8}}{x}\) = \(\frac{3 \times 10^{-8}}{16-x}\)
5( 16 - x) = 3x
80 - 5x = 3x
8x = 80
∴ x = 10cm
For Q,
\(\frac{5 \times 10^{-8}}{16+y}\) = \(\frac{3 \times 10^{-8}}{y}\)
5y = 48 + 3y
∴ 2y = 48
y = 24 cm
i.e., at (16 + 24) = 40 cm from A