How to represent this circuit using Boolean algebra?

Top