David is buying 3 books in a trilogy set for $24.81. He will save $6.69 by buying the trilogy set instead of buying individual books. If each book costs the same amount, how much does each of the 3 books cost when purchased individually?