Every plate costs $9, so p plates cost $9p (you have to multiply the unit cost of a plate by the number of plates you buy).
By the same logic, if a cup costs $7, c cups cost $7c.
The total expense is the sum of the two expenses, so we have
5.8m questions
7.5m answers