There are 300 story books in the library, and 40 more science books than story books. How many story books and science books are there altogether?
图书室有故事书300本，科技书比故事书的2倍多40本，故事书和科技书一共有多少本？
<gadget id="calculator">300 * 2</gadget>
<output>600</output>

<gadget id="calculator">600 + 40 + 300</gadget>
<output>940</output>

<result>940</result>