Solution:
Throwing a die twice is the same experiment as throwing two dice together. Each outcome is an ordered pair (first throw, second throw), so there are 6×6=36 equally likely outcomes.
(i) 5 does not come up either time
Then each throw shows one of 1,2,3,4,6 — five choices each:
5×5=25 outcomes
P(5 does not come up either time)=3625
(ii) 5 comes up at least once
The outcomes containing a 5 are
(5,1),(5,2),(5,3),(5,4),(5,5),(5,6),(1,5),(2,5),(3,5),(4,5),(6,5)
— 11 outcomes ((5,5) is counted once).
P(5 comes up at least once)=3611
Check: "at least once" and "not either time" are complementary, and 3625+3611=1 ✓.