Answer:
[tex]5\text{ mph and 7 mph}[/tex]Explanation:
Let the speed of the first person be x mph and the speed of the second person be y mph
Since one person's speed is faster than the other, we can have:
[tex]y\text{ = \lparen x + 2\rparen mph}[/tex]Mathematically, distance equals the product of speed and time
The time traveled by each person is 1.5 hours
The distance traveled by each of them is:
[tex]\begin{gathered} 1.5\text{ }\times\text{ x = 1.5x miles} \\ 1.5(x+2)\text{ = \lparen1.5x + 3\rparen miles} \end{gathered}[/tex]The sum of the two equals 18 miles
Thus:
[tex]\begin{gathered} 1.5x\text{ + 1.5x + 3 = 3x + 3 = 18} \\ 3x\text{ = 18-3} \\ 3x\text{ = 15} \\ x\text{ = }\frac{15}{3} \\ x\text{ = 5 mph} \end{gathered}[/tex]Recall;
[tex]y\text{ = x + 2 = 5 + 2 = 7 mph}[/tex]This means that the first person was walking 5 mph while the second was walking 7 mph