It’s 18
If they have to be equal, every vase has to have a yellow flower therefore if you had 1 yellow flower and 1 white flower (the lowest possible equal combination) then you can only have 18 groups otherwise you would have an equal number in each case