Consider the given events.
A = 5 appears on the die at least once
B = The sum of the numbers on two dice is 8.
Clearly,
A = {(1, 5),(2, 5),(3, 5),(4, 5),(5, 5), (6, 5), (5, 1), (5, 2), (5, 3), (5, 4), (5, 6)}
B = {(2, 6), (3, 5), (4, 4), (5, 3),(6, 2)}