Multiple parameter sets

How to implement it

A C D E
B C D E
A C F
B C F