(a && b) || b
b

If b is true, the entire expression is true. If b is false, the entire expression is false. The expression simplifies to b. a is irrelevant.

Exercise 6 solution
Exercise 8 solution
Exercises
All solutions