real estate company has a capital of 10 billion yuan, and B real estate company has a capital of 4 billion yuan. The two companies jointly invest in a piece of land. After spending the same amount of funds, the remaining capital of company A is 5 times that of company B. I would like to ask: How many billion yuan did the two companies share in investing in this land?
甲房地产公司有资金100亿元，乙房地产公司有资金40亿元，两公司联合投资一块地皮，用去同样多的资金后，甲公司剩下的资金是乙公司的5倍．请问：两公司投资这块地皮共用去多少亿元？
<gadget id="calculator">40 * 5</gadget>
<output>200</output>

<gadget id="calculator">200 - 100</gadget>
<output>100</output>

<gadget id="calculator">5 - 1</gadget>
<output>4</output>

<gadget id="calculator">100 / 4</gadget>
<output>25</output>

<result>25</result>