If T is the total paid, n is the number of items, and p is the price of one item, then . Substituting the given numbers: