Why the value of x2 is reducing?

34 Views Asked by At

The slope is given by $ \frac{y1-y2}{x1-x2}$

If the slope is given we can also calculate the value of x2.

slope= $ \frac{y1-y2}{x1-x2}$

x1-x2= $\frac{y1-y2}{slope}$

x2=x1-$ \frac{y1-y2}{slope}$

Suppose a triangle we have traingle image here so when we move from y1 to y2 the value of x coordinate is changed to x2 which is greater than x1 but when i used the above formula to find value of x2 its giving me a value which is less than x1.

Why its so?