To find out how many toy cars were in each package, we can use the total number of toy cars and the number of packages. If the manager bought 10 toy cars and they came in \( p \) packages, we can express the number of toy cars in each package as:
\[ \frac{10}{p} \]
This expression represents the number of toy cars per package.