In figure (X), one of the dots lies in the region common to the star and the triangle only and the other dot lies in the region common to the square, the star and the circle. Only figure (D) consists of above types of regions. Hence, figure (D) is the correct one.