698. On the coordinate plane, several lines (marked with numbers) are depicted. Each of them is defined by the equation $y=k x+b$ with some $k$ and $b$. List the lines (a) in ascending order of the coefficients $k$; (b) in ascending order of the values of $b$.
$\Delta$ The coefficient $k$ (slope) is the greater, the steeper the line rises when moving from left to right. Line № 2 has a negative slope, and in ascending order come lines 1, 3, 4.

To order the lines by increasing $b$, you need to look at their points of intersection with the y-axis and list the lines from bottom to top: $4,1,3$, 2. $\triangleleft$

The distance between two points $\left(x_{1}, y_{1}\right)$ and $\left(x_{2}, y_{2}\right)$ can be found using the Pythagorean theorem:

$$
d=\sqrt{\left(x_{1}-x_{2}\right)^{2}+\left(y_{1}-y_{2}\right)^{2}}
$$