Does anyone know what the inequality would be?

Let x = number of batches.
So for every batch, you need 2 cups of flour, and you have 20 cups of flour. You cannot make a batch if you don't have the sufficient amount. So using our information, our inequality is [tex] 2x \leq 20 [/tex] . However, this can be further simplified.
For this inequality, divide both sides by 2, and your inequality is [tex] x\leq 10 [/tex]. In context, you can make up to 10 batches of cookies.