You may just have multiplied 2 and 20 and subtracted that from the total. If T is the total paid, n is the number of items, and p is the price of one item, then . Substitute the given numbers, , , and , and solve for k.