Could two independents events also be a complete overlaps?

I came across two similar questions, where the solutions weren’t the same.
In one of the questions, total probability of of two events is subtracted by the results of multiplication of those events. While, in the other question the probability is chosen as the biggest value.