Answer
$24$
Work Step by Step
According to the counting formula we know that $n(A\cup B)=n(A)+n(B)-n(A\cap B).$
Hence here $30=12+n(B)-6\\n(B)=30-12+6=24.$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.