D:
X: positive
Y: positive
Explanation:
To answer correctly the question, we need to remind the difference between the electric field produced by a positive charge and by a negative charge:
- For a positive charge, the direction of the field lines is away from the charge (because they represent the direction in which a positive test charge would move, if placed in this field)
- For a negative charge, the direction of the field lines is toward the charge (because the positive test charge would move toward the negative charge, if placed in this field)
In the figure, we see that both charges have electric field lines that go away from the charges: therefore, according to the previous statements, they both have to be positive charges.