.
Let's do it in more simple way.
From the elementary set theory, {(A U B) n C}}} = {(A n C) U (B n C)}.
{(A n C)} is the set of all prime numbers between 1 and 100 intersected with the set of all integer numbers multiple 3 in this domain.
So, {{A n C)} consists of one single element {3}.
{(B n C)} is the set of all even numbers between 1 and 100 intersected with the set of all integer numbers multiple of 3 in this domain.
So, {(B n C)} is the set of all multiple of 6 between 1 and 100 inclusively.
Therefore,
{(A U B) n C}}} = {(A n C) U (B n C)} = the set of all multiple of 6 between 1 and 100 inclusively PLUS the number 3.
The amount of all integers multiple of 6 between 1 and 100 inclusively is 16 (because = 16.66. . . ).
Plus that single "3" gives you the answer of 17.
-------------
The tutor @MathLover1 missed the number "54" in her final list.