Evie was doing a science fair project by surveying her biology class. She found that of the 30 students in the class, 15 had brown hair and 17 had blue eyes and 6 had neither brown hair nor blues eyes. Determine the number of students who had brown hair and blue eyes.