Speed =15km/hr
Distance d =30
let the speed of stream be x km/hr
Downstream time= 30/(15+x)
Upstream time =30/(15-x)
Given Total time =4 hours 30 mins =9/2 hr.
According the question
30{1/(15+x)+1/(15-x)}=9/2
10{(15+x+15-x)/(225-x2)}=3/2
300/(225-x2)=3/2
100/(225-x2)=1/2
200= 225-x2
x2=25
x=5 km/hr