Wang Xin and Lu Liang walked toward each other from two places 2000 meters apart at the same time. Wang Xin traveled 110 meters per minute, and Lu Liang traveled 90 meters per minute. If a dog walks in the same direction as Wang Xin at the same time, at 500 meters per minute, when it meets Lu Liang, it immediately turns back and runs to Wang Xin; when it meets Wang Xin, it turns back and runs to Lu Liang. This kept going back and forth until Wang Xin and Lu Liang met. How many meters did the dog walk together?
王欣和陆亮两人同时从相距2000米的两地相向而行，王欣每分钟行110米，陆亮每分钟行90米．如果一只狗与王欣同时同向而行，每分钟行500米，遇到陆亮后，立即回头向王欣跑去；遇到王欣后再回头向陆亮跑去．这样不断来回，直到王欣和陆亮相遇为止，狗共行了多少米？
<gadget id="calculator">110 + 90</gadget>
<output>200</output>

<gadget id="calculator">2_000 / 200</gadget>
<output>10</output>

<gadget id="calculator">500 * 10</gadget>
<output>5_000</output>

<result>5_000</result>