2. Implement the function given below in the two ways specified:
f(A, B, C) = \sum m(0,3,4,7)
a. Implement the function using an 8-to-1 multiplexor (shown in the figure below).
Assume that you can connect any of the multiplexor's inputs to the function's
variables, A, B, and C, or to a binary '1' or '0' value.
b. Implement the function using a 3-to-8 decoder (shown in the figure below) and an
OR gate (with as many inputs as you need).