The number of watermelons delivered by the fruit shop is twice the number of white melons. If 40 brandy melons and 50 watermelons are sold every day, and the brandy melons are sold out after a few days, there are still 360 watermelons left. How many watermelons and white melons were shipped from the fruit shop?
水果店运来西瓜的个数是白兰瓜个数的2倍．如果每天卖白兰瓜40个，西瓜50个，若干天后卖完了白兰瓜，西瓜还剩360个．水果店运来的西瓜和白兰瓜共多少个．
<gadget id="calculator">80 - 50</gadget>
<output>30</output>

<gadget id="calculator">360 / 30</gadget>
<output>12</output>

<gadget id="calculator">12 * 40</gadget>
<output>480</output>

<gadget id="calculator">12 * 40 * 2</gadget>
<output>960</output>

<gadget id="calculator">480 + 960</gadget>
<output>1_440</output>

<result>1_440</result>