Расчет: xGTWwr - 1
=
= $$\frac{y-y1}{y2-y1}$$ = $$\frac{x-x1}{x2-x1}$$ = - $$\frac{y-y1}{y2-y1}$$ = $$\frac{x}{x2-x1}-\frac{x1}{x2-x1}$$ (y-y1) = ( - )* (y2-y1)$$(y-y1)$$ = $$(\frac{x}{x2-x1}-\frac{x1}{x2-x1})\cdot (y2-y1)$$ y-y1 = ( - )* (y2-y1)$$y-y1$$ = $$(\frac{x}{x2-x1}-\frac{x1}{x2-x1})\cdot (y2-y1)$$ y = ( - )* (y2-y1)+y1$$y$$ = $$(\frac{x}{x2-x1}-\frac{x1}{x2-x1})\cdot (y2-y1)+y1$$ y = - - + +y1$$y$$ = $$\frac{y2\cdot x}{x2-x1}-\frac{y2\cdot x1}{x2-x1}-\frac{y1\cdot x}{x2-x1}+\frac{y1\cdot x1}{x2-x1}+y1$$ y = - - + +y1$$y$$ = $$\frac{x\cdot y2}{x2-x1}-\frac{x1\cdot y2}{x2-x1}-\frac{x\cdot y1}{x2-x1}+\frac{x1\cdot y1}{x2-x1}+y1$$