To solve for the time it took Talia to walk home (Trip 2) and the distance of Trip 1, we start with the given equation:
\[ 40(0.9 - x) = 5x \]
First, let's simplify this equation:
-
Distribute the 40 on the left side:
\[ 40 \times 0.9 - 40x = 5x \]
\[ 36 - 40x = 5x \]
-
Combine like terms by adding \(40x\) to both sides:
\[ 36 = 45x \]
-
Solve for \(x\):
\[ x = \frac{36}{45} \]
\[ x = \frac{4}{5} \]
\[ x = 0.8 \text{ hours} \]
So, the time it took Talia to walk home (Trip 2) is 0.8 hours.
Next, we need to find the distance of Trip 1. We already know that the distance for Trip 1 is given by:
\[ \text{Distance} = 40(0.9 - x) \]
Substituting \(x = 0.8\) into the equation:
\[ \text{Distance} = 40(0.9 - 0.8) \]
\[ = 40(0.1) \]
\[ = 4 \text{ km} \]
Therefore, the distance of Trip 1 is 4 km.
Summary of Results:
- The time of Trip 2 is 0.8 hours.
- The distance of Trip 1 is 4 km.