I think you are asking how to design a decoder.
There are many online references on how to do this.
For example:
(source: https://www.allaboutcircuits.com/textbook/digital/chpt-9/decoder/ )
Traditionally, a 2x4 decoder will output b'1000 for an input of b'11. In your example you were asking for a 2x3 (which is odd, but it's your application), so just ignore the output D0. Now your input b'11 will output b'100.
<edit per question in comment>
I believe you are making it more complicated than necessary. If your goal is to create a decoder for use in a MUX, you almost certainly want the conventional decoder truth table provided above. But, if for some reason you really do want the truth table that you suggested, you can make some simplifications:
Here is how I interpret what you asked for...
in --> out
-----------
00 --> 000
01 --> 001
10 --> 010
11 --> 100
a1 a0 --> d2 d1 d0
If we forget the last line (i.e. 11 --> 100) for a moment, you'll notice that you just have
But that is only true when a1 and a0 are not both 1. In other words
d0 = a0 and not(a0 and a1)
d1 = a1 and not(a0 and a1)
As it happens, d2 is only a 1 when both a0 and a1 are 1.
d2 = a0 and a1
So, you can just borrow that (a0 and a1) to complete the d1 and d0 outputs.
But again, I highly doubt that's what you actually want. I suspect you want the truth model for the traditional decoder, as provided earlier.