D(p) = - 43/7·(p - 375) + 1100
D(343) = - 43/7·(343 - 375) + 1100 = 9076/7 = 1297
ms = (2036 - 9076/7)/(507 - 343) = 1294/287 = 4.509
S(p) = 1294/287·(p - 507) + 2036
D(101) - S(101) = (- 43/7·(101 - 375) + 1100) - (1294/287·(101 - 507) + 2036) = 739794/287 = 2578