The sample space of rolling a dice is {1, 2, 3, 4, 5, 6}.
The event of getting an even number A = {2, 4, 6}, as these are the only even numbers in the sample space.
The event of getting a prime number B = {2, 3, 5}, as these are the only prime numbers in the sample space.
The complement of B, denoted by B', is the event of not getting a prime number. The numbers in the sample space that are not prime are {1, 4, 6}. Thus, B' = {1, 4, 6}.