the diagram shows an array of red and blue balls