[tex]S=\frac{d}{t},\ where\ s-speed,\ d-distance,\ t-time\\t=\frac{d}{S}\\\\d+37.2-bear\ distance\\\\Time\ (tourist\ tourist\ and\ bear)\ will\ be\ the\ same\ so\ we\\ should\ comparise\ them:\\\\\frac{d}{4}=\frac{d+37.2}{4.96}\\\\4.96d=4(d+37.2)\\\\4.96d=4d+148.8\\\\4.96d-4d=148.8\\\\0.96d=148.8\\\\d=155m\\\\Maximum\ value\ of\ d\ is\ 155m[/tex]