Mark M. answered 11/17/20
Retired math prof. Very extensive Precalculus tutoring experience.
Let x = speed of the boat in still water
Speed downstream = x + 6 and speed upstream = x - 6
Distance = (Rate)(Time), so Time = Distance / Rate
Time upstream = Time downstream
So, 47 / (x - 6) = 94 / (x + 6)
47( x + 6) = 94(x - 6)
x + 6 = 2(x - 6)
x + 6 = 2x - 12
x = 18 kph