Answer:
9 mph
Step-by-step explanation:
Speed of current = 6 mph
Distance to travel one way = 22.5 miles
Let speed of the ferry be [tex]x[/tex] mph
Total time taken for round trip is 9 hours
One way the ferry will be going with the current and in the other way the ferry will be going against the current so
[tex]\dfrac{22.5}{x+6}+\dfrac{22.5}{x-6}=9\\\Rightarrow \dfrac{x-6+x+6}{x^2-36}=\dfrac{9}{22.5}\\\Rightarrow \dfrac{2x}{x^2-36}=0.4\\\Rightarrow \dfrac{2x}{x^2-36}-0.4=0\\\Rightarrow 2x-0.4x^2+14.4=0\\\Rightarrow 0.4x^2-2x-14.4=0\\\Rightarrow 4x^2-20x-144=0\\\Rightarrow x=\dfrac{-\left(-20\right)\pm \sqrt{\left(-20\right)^2-4\times 4\left(-144\right)}}{2\times 4}\\\Rightarrow x=9,-4[/tex]
So, the speed of the boat in still water needs to be 9 mph both ways.