Mary is baking a cake. The recipe calls for 3 cups of sugar 10 cups of flour and 15 cups of salt. She already put in 6 cups of flour. How many more cups of flour does she need to add?
Let's say that Mary has already put in x cups of flour. 

The recipe calls for 10 cups of flour in total, so she needs to add 10 - x cups of flour.