To solve for \( x \), the time in hours that Yi spent walking before meeting her friend, we can analyze the given information.
-
Part 1: The average speed for the first part of Yi's walk is 4 miles per hour. If she spent \( x \) hours walking before meeting her friend, the distance covered in this part is calculated as: \[ \text{Distance}_1 = \text{Rate} \times \text{Time} = 4x \text{ miles} \]
-
Part 2: After meeting her friend, they walked together at an average speed of 5 miles per hour for the remaining time, which is \( 0.7 - x \) hours. The distance covered in this part is: \[ \text{Distance}_2 = \text{Rate} \times \text{Time} = 5(0.7 - x) \text{ miles} \]
-
Total Distance: The total distance of the entire walk is 3 miles. Therefore, we can set up the equation: \[ \text{Distance}_1 + \text{Distance}_2 = 3 \] Substituting our expressions for distances, we have: \[ 4x + 5(0.7 - x) = 3 \]
This equation reflects the total distance walked in terms of the time \( x \).
Therefore, the correct answer is:
D. \( 4x + 5(0.7 - x) = 3 \)