This question is specific to a text. I am reading "Statistical Methods for Survival Data Analysis" by Lee and Wang. On p. 70 in the 4th edition (and p. 66 in the 3rd) the authors show a linear interpolation for finding the median for uncensored observations using the product limit approach, or Kaplan Meier, but I cannot understand their formulation.
Data are:
t S(t)
6 0.7
m 0.5 (median cum prob.)
8 0.4
and they use this equality to calculate $m$:
$$\frac{8 - 6}{0.4 - 0.7} = \frac{8 - m}{0.4 -0.5}$$
to solve for $m = 7.3$. I do not understand the setup. One can rearrange this to equate the ratio of the survival times (months) to the ratios of the probabilities, and so it appears that these are slope approximations, but I do not understand the reasoning behind this setup.