For an engineering project, Gary needs to implement a logic circuit. What is the task that Gary needs to complete?