on a partly cloudy day , derek decides to walk back from work . when it is sunny , he walks at a speed of s miles / hr ( s is an integer ) and when it gets rain cloud , he increases his speed to ( s + 1 ) miles / hr . if his average speed for the entire distance is 2.8 miles / hr , what fraction of the total distance did he cover while the sun was shining on him ?