6MarImplement decisions based on truth tables

The other day in my work I find myself in a situation that I had to implement some decisions based on a truth table. Thinking about how it’s the best approach to solve the problem I found the following solutions. Which do you think it’s the best approach?