Use the logic gate in Fig 2 to answer question 12. Which of the logic…