When Wang Ming came home, he was 300 meters away from the house. His younger sister and the puppy ran towards him together. Both Wang Ming and his younger sister ran at a speed of 50 meters per minute, and the puppy’s speed was 200 meters per minute. The same speed kept going back and forth between Wang Ming and his sister. When Wang Ming and his sister were 10 meters apart, how many meters did the puppy run in total?
王明回家，距家门300米，妹妹和小狗一齐向他奔来，王明和妹妹的速度都是每分钟50米，小狗的速度是每分钟200米，小狗遇到王明后用同样的速度不停往返于王明与妹妹之间．当王明与妹妹相距10米时，小狗一共跑了多少米．
<gadget id="calculator">300 - 10</gadget>
<output>290</output>

<gadget id="calculator">50 + 50</gadget>
<output>100</output>

<gadget id="calculator">290 / 100</gadget>
<output>29/10 = around 2.9</output>

<gadget id="calculator">200 * (29/10)</gadget>
<output>580</output>

<result>580</result>