A pie is made using 2 cups of sugar for every 3 cups of flour. Max knows he needs 15 cups of flour to make enough pies. How many cups of sugar does he need?