Explanation
$$\textbf{Step 1: Label the given information and use relevant formula}$$
$${\text{It is given that n(X) = 17,n(Y) = 23,n(X}} \cup {\text{Y) = 38}}$$
$${\text{As we know that, n(X}} \cup {\text{Y) = n(X) + n(Y) - n(X}} \cap {\text{Y)}}$$
$${\text{Using the formula we get}}$$
$${\text{n(X) + n(Y) - n(X}} \cap {\text{Y) = (X}} \cup {\text{Y)}}$$
$$\therefore {\text{17 + 23 - n(X}} \cap {\text{Y) = 38}}$$
$$ \Rightarrow {\text{n(X}} \cap {\text{Y) = 40 - 38 = 2}}$$
$${\textbf{Hence, the value is 2.}}$$
Please disable the adBlock and continue. Thank you.