This document discusses how to calculate arrangements when some items must be together or apart. It explains that when items need to be together, they should be counted as a single item to reduce the total items being arranged. Then the total number of arrangements is calculated by finding the total possible arrangements and subtracting the arrangements that do not satisfy the constraints of certain items being together or apart. Examples provided include arranging people in a row when some must or cannot sit together and arranging books on a shelf keeping books of each subject together.