Fred and Sam are standing 35 miles apart and they start walking in a straight line toward each other at the same time. If Fred walks at a constant speed of 2 miles per hour and Sam walks at a constant speed of 5 miles per hour, how many miles has Sam walked when they meet?	Choose the correct choice from the following answers:  A) 5  B) 9  C) 25  D) 30  E) 45
relative distance =35 miles   relative speed =2+5= 
<gadget id="calculator">2+5</gadget>
<output>7</output>
7 miles per hour   time taken=35/7= 
<gadget id="calculator">35/7</gadget>
<output>5</output>
5 hours   distance travelled by sam=5*5= 
<gadget id="calculator">5*5</gadget>
<output>25</output>
25 miles=25
<result>C</result>
Fred and Sam are standing 35 miles apart and they start walking in a straight line toward each other at the same time. If Fred walks at a constant speed of 2 miles per hour and Sam walks at a constant speed of 5 miles per hour, how many miles has Sam walked when they meet?