If Sarah has a total of 14 cups to start and uses all of them, we know the following...
Start: 14 cups
14 cups - 4 cups = 10 cups after she had sold cups to adults
10 cups are left
Sarah sells 10 cups to children (2 batches)
10 cups / 2 batches = 5 cups in each batch