I've been looking at the following article: https://www.electronics-tutorials.ws/combination/comb_2.html
I am confused as to how the boolean expression Q = a'b'A + ab'B + a'bC + abD is deduced for mux4, and what it would be for mux2. How is it done with kmaps?