at a certain committee meeting only associate professors and assistant professors are present . each associate professor has brought 2 pencils and 1 chart to the meeting , while each assistant professor has brought 1 pencil and 2 charts . if a total of 10 pencils and 5 charts have been brought to the meeting , how many people are present ?
"say there are ' a ' associate professors . so we have 2 a pencils and a charts . say there are ' b ' assistant professors . so we have b pencils and 2 b charts . total pencils are 10 so 2 a + b = 10 total charts are 11 so a + 2 b = 5 add both : 3 a + 3 b = 15 so a + b = 5 total number of people = 5 a"
divide(add(5, 10), add(2, 1))