1) In this kind of question, we're going to deal with a ratio:
[tex]Speed=\frac{t}{d}[/tex]2) So, now let's gather the data:
Upstream: 8 miles
Downstream: 12 miles
Speed of the current: 2mph
Boat speed: x
So we can set the following expression:
[tex]\begin{gathered} t=\frac{d}{S} \\ \frac{12}{(x+2)}=\frac{8}{(x-2)} \\ (x+2)8=12(x-2) \\ 8x+16=12x-24 \\ 8x-12x=-24-16 \\ -4x=-40 \\ \frac{-4x}{-4}=-\frac{40}{-4} \\ x=10 \end{gathered}[/tex]Note that we actually equate both rational expressions for the boat against the current and the boat with the current.
Thus, the boat speed is 10 mph