Buying 2 bottles of liquor and 12 bottles of beer cost 140 yuan. It is known that the price of a bottle of liquor is equal to that of 8 bottles of beer. How much is the total cost of a bottle of liquor and a bottle of beer?
买2瓶白酒和12瓶啤酒共用140元，已知一瓶白酒与8瓶啤酒的价钱相等，那么一瓶白酒和一瓶啤酒共需多少元．
<gadget id="calculator">5 * 8</gadget>
<output>40</output>

<gadget id="calculator">40 + 5</gadget>
<output>45</output>

<result>45</result>