Let the speed of the stream be x km/hr
Speed of the boat in still water =24 km/hr
Speed of the boat in upstream =(24−x) km/hr
Speed of the boat in downstream =(24+x) km/hr
Distance between the places is 32 km.
Time to travel in upstream =d24–x hr
Time to travel in downstream =d24+x hr
Difference between timings =1 hr
Time of upstream journey = Time of downstream journey +1 hr
Therefore, 3224–x=3224+x+1
3224–x−3224+x=1
768+32x−768+32x(24−x)(24+x)=1
64x=576–x2
x2+64x−576=0
On factoring, we get
(x+72)(x−8)=0
So, x=−72 or 8 (speed of the stream cannot be negative)
Therefore, speed of stream is 8 km/hr.