When Jessica makes cupcakes she requires a ratio of sugar to flour of 2 : 5. If Jessica uses half a cup of sugar for a particular batch of cupcakes, how much flour does she need?