Consider the given events
A = A prime number appears on second die.
B = The sum of the numbers on two dice is 7.
Clearly,
A = {(1, 2), (1, 3), (1, 5), (2, 2), (2, 3)(2, 5), (3, 2), (3, 3), (3, 5) (4, 2), (4, 3), (4, 5),(5, 2), (5, 3), (5, 5), (6, 2), (6, 3),(6, 5)}
B = {(2, 5), (5, 2), (3, 4), (4, 3), (1, 6), (6, 1)}