Hello,
Such types of questions on multiplexer are asked in digital logic and computer architecture subject so first of all I recommend you to brush up on your theory chapter based on multiplexers and the concept on how to solve problems related to that as these type of programs usually have a fixed steps or way of solving.So please refer to that.
Hope this helps.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile