Let the speed of the boat in still water be b km/h.
Speed of stream = 9 km/h
Given total time = 7 hours:
b+956+b−928=7
Multiply throughout by ((b+9)(b-9)):
56(b−9)+28(b+9)=7(b2−81)
Simplify:
56b−504+28b+252=7b2−567
84b−252=7b2−567
7b2−84b−315=0
Divide by 7:
b2−12b−45=0
Factor:
(b−15)(b+3)=0
Reject negative value, so:
b=15
Speed of the boat in still water = 15 km/h