When Maya decides whether to wear trousers or a skirt, she limits her other choices accordingly. You can see what combinations of clothing Maya can wear in the picture above.
In computer programming we often decide which actions have to be performed by checking some conditions: “if” a special condition holds (a skirt has been chosen), “then” some specific action is done (choose a T-shirt with a squirrel).