Xiaohong, Xiaoming, and Xiaolong made a total of 120 small flags, of which Xiaohong made (1/4) the total number of flags made by Xiaoming and Xiaolong. The ratio of the number of small flags made by Xiaoming is 4:5. How many small flags did Xiao Ming make?
小红、小明、小龙一共做了120面小旗，其中小红做了总数的(1/4)，小明和小龙做的小旗的面数比是4：5．小明做了多少面小旗？
<gadget id="calculator">1 / 4</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">120 * (1/4)</gadget>
<output>30</output>

<gadget id="calculator">120 - 30</gadget>
<output>90</output>

<gadget id="calculator">4 + 5</gadget>
<output>9</output>

<gadget id="calculator">4 / 9</gadget>
<output>4/9 = around 0.444444</output>

<gadget id="calculator">90 * (4/9)</gadget>
<output>40</output>

<result>40</result>