Consider the following two configurations.

a. A test charge +q is brought to a point A a distance r from the center of a sphere having net charge +Q.
b. A test charge +2 q is brought to a point D a distance 2 r from the center of the sphere. Compared with the electrostatic potential at A, the electrostatic potential at B is

a.the same
b. greater
c. smaller
Compared with the electrostatic potential energy of configuration (a), the electrostatic potential energy of configuration (b) is

a. greater
b. smaller
c. the same