Chapter 3Method of Images: Problem 3.10
In order to satisfy the boundary conditions, 3 image charges must be added to the system.
The net force on q can be calculated by determining the vector sum of the forces on q due to the three image charges.
The electrostatic energy of the real system is equal to 1/4 of the electrostatic energy of the image-charge system.