.
if x is the set of multiples of 5, and Y is the set of three-digit positive integers
which are multiples of 7, how many numbers are common to both sets
~~~~~~~~~~~~~~~~~
First such number is 105, and then every 35-th integer number in this sequence of natural numbers
106, 107, 108, . . . , 998, 999
satisfies the criterion.
So, you calculate this ratio
= 25.54...
as a decimal, and then you round this decimal to the closest smaller integer, which is 25.
Doing this way, you determine the number of segments of the length of 35 units from 106 to 999.
Each such segment contains one and only one integer number multiple of 5 and 7 simultaneously
as the last number of the segment.
Finally add 1 (one), which counts for the number of 105.
So, your answer is 25 + 1 = 26.
Solved and explained.