To find the equation of the line in the form \( y = mx + b \), we need to determine the slope \( m \) and the y-intercept \( b \).
- Calculate the slope \( m \) using the two points given: \( (-3, -1) \) and \( (2, 4) \).
\[ m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{4 - (-1)}{2 - (-3)} = \frac{4 + 1}{2 + 3} = \frac{5}{5} = 1 \]
- Use one of the points to find the y-intercept \( b \). We will use the point \( (2, 4) \) for this calculation.
Substituting the values into the equation \( y = mx + b \):
\[ 4 = 1(2) + b \]
This simplifies to:
\[ 4 = 2 + b \]
Now, solving for \( b \):
\[ b = 4 - 2 = 2 \]
- Write the final equation:
Now that we have the slope \( m = 1 \) and the y-intercept \( b = 2 \), the equation of the line is:
\[ y = 1x + 2 \]
Or simply:
\[ y = x + 2 \]
Thus, the final answer is:
\[ y = x + 2 \]