Basically the question gives a 4 variable function as:

F = ~C~D + ~B~C + ~ABC + ~A~D + ~B~D

It then ask to "generate F using a 8:1 multiplexer with control input B,C,D and minimal Nand Gates." This is the steps I have done so far.

I did a truth table with ABCD as inputs and for F output my minterms are:

F=Ʃ(0,1,2,4,6,7,8,9,10,12)

For each of the groupings i then outputed as:

F = 1, A', A', 1,1,A',A',0

That is the part I am lost with. Basically the notes were a bit vague and I was confused. For an 8:1 multiplexer is this basically the right way to go? Or am I understanding this incorrectly. I notice in the notes that in the truth table they just drew the lines and used that to output the F function.

Here is a sketch of my final circuit drawing.

Also I do not understand the part on the question where it states: "...and minimal Nand Gates." Is that necessary? Or is my single inverter good enough? Thanks again. I just want to make sure I understand this correctly before I do the same method on a test.