Actually the method that Malabika explained takes lesser time to find the answers (~5minutes less) without finding the equation of the line. I'll explain in detail below:
Step 1 : Slope from (10,40) and (13,80) = (80-40)/3 = 40/3 (This means that between 0800hrs and 1600hrs the pollution increases by 40/3 every hour). We need to find the pollution value at 0500hrs to 0800hrs, 1600hrs to 2000hrs and 2400hrs onwards (same as 0500to0800)
Step 2 : At 0800hrs the pollution is 40 - 2*40/3 = (120-80)/3 = 40/3 [40/3 is multiplied by 2 since 1000hrs-0800hrs=2]
Step 3 : At 1600hrs the pollution is 80 + 3*40/3 = (240+120)/3 = 360/3 = 120 [40/3 is multiplied by 3 since 1600hrs-1300hrs=3]
Step 4 : At 2400hrs the pollution is the same as what we found in Step 2 i.e. 40/3
Step 5 : Find the slope from (20,120) to (24,40/3). = (40/3-120)/4 = (40-360)/12 = -320/12 = -80/3
Step 6 : Find the pollution at 10 PM or 2200hrs : 120 - 2*80/3 = (360-160)/3 = 200/3
[-80/3 is multiplied by 2 since 2200hrs-2000hrs=2]
This method is faster. No need to find the equation of the lines. Just understand slope as rise/run (Same way speed is distance/time)