Doubt from electrostatics

#1

please solve question 29

#2

#3

Thank u for the solution