Yeah, the simpliest explanation
Стоимость = Цена * Количество.