\(A=\left\{a_1,a_2,...,a_k,c_1,c_2,...,c_j\right\}\\ B=\left\{b_1,b_2,...,b_m,c_1,c_2,...,c_j\right\}\\ \left|A\right|=k+j,\left|B\right|=m+j\\ A\cup B=\left\{a_1,a_2,...,a_k,b_1,b_2,...,b_m,c_1,c_2,...,c_j\right\}\Rightarrow\left|A\cup B\right|=m+k+j\\ A\cap B=\left\{c_1,c_2,...,c_j\right\}\Rightarrow\left|A\cap B\right|=j\)
\(\left|A\cup B\right|=k+j+m+j-j=\left|A\right|+\left|B\right|-\left|A\cap B\right|\)