The slope of the line that passes through the points (x1, y1) is computed as follows:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/78uaqhwt0aws3qfwxigaftpihnmb1gzxtp.png)
Given that the line passes through (-2,3) and (0,2), then its slope is:
![m=(2-3)/(0-(-2))=-(1)/(2)](https://img.qammunity.org/2023/formulas/mathematics/high-school/si956w40mgjiizzktlns7t87efu66xy5po.png)
The slope-intercept form of a line is:
y = mx + b
where m is the slope and b is the y-intercept
Replacing the point (0, 2) and m = -1/2 into the general equation, we get:
2 = -1/2(0) + b
2 = b
Then, the equation of the line is:
y = -1/2x + 2