Equate the straight line passing through the given two points A (2; 0), B (0; 1).

The straight line has the formula y = k * x + b.

We substitute the values of the coordinates of the points into the formula of the straight line twice, compose and solve a system of two equations with two unknowns.

0 = 2 * k + b;

1 = 0 * k + b;

From the second equation, we immediately find the value of b:

b = 1; Then:

2 * k + 1 = 0;

2 * k = -1;

k = -1/2.

We found the numerical coefficients, respectively, we compose the equation of the straight line:

y = -1/2 * x + 1 is the equation of the straight line.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.