The diagram given illustrates two charged particles W and X. The charges on W and…