To find the linear equation in slope-intercept form (y = mx + b) for the line passing through the points (3, 1) and (-18, -6), we first need to calculate the slope (m) using the formula:
\[ m = \frac{y_2 - y_1}{x_2 - x_1} \]
Here, \((x_1, y_1) = (3, 1)\) and \((x_2, y_2) = (-18, -6)\).
Substituting in the values:
\[ m = \frac{-6 - 1}{-18 - 3} = \frac{-7}{-21} = \frac{1}{3} \]
Now that we have the slope \(m = \frac{1}{3}\), we can use one of the points to find the y-intercept (b). We'll use the point (3, 1):
Using the equation:
\[ y = mx + b \]
Substituting \(x = 3\), \(y = 1\), and \(m = \frac{1}{3}\):
\[ 1 = \frac{1}{3}(3) + b \]
This simplifies to:
\[ 1 = 1 + b \]
To solve for \(b\):
\[ b = 1 - 1 = 0 \]
So, the y-intercept \(b = 0\). Now we can write the slope-intercept form of the equation:
\[ y = \frac{1}{3}x + 0 \]
This simplifies to:
\[ y = \frac{1}{3}x \]
In the required format, the final answer is:
\[ y=\frac{1}{3}x \]