A baker sells single bagels or packages of 6 bagels. On Sunday, they sold a total of 167 bagels, 41 of which were singles. Which equation can be used to find the number of packages, p, sold on Sunday?