492 views

1 Answer

Best answer
2 votes
2 votes

A =String starting with C of length 6 => 1*3*3*3*3*3 => 3^5

B = String ending with C of length 6 => 3*3*3*3*3*1 => 3^5

| A ∩ B | = String starting and ending with C of length 6 => 1*3*3*3*3*1 => 3^4

| A ∪ B | = | A | + | B | − | A ∩ B |

| A ∪ B |= 3^5+3^5-3^4

=> 2(3^5)-3^4

=> 3^4(6-1)

=> 3^4(5)

=> 81*5

405

selected by