Hello There!
Slope: 1
Equation: y = x - 2
Let's start by finding the slope. To find the slope of a given equation, subtract the y values over the x values.
y1 - y2 / x1 - x2 ⇒ 3 - 0 / 1 - - 2 ⇒ 3 / 3 ⇒ 1
This means we have a slope value of 1.
Now, to find an equation. We will find the equation in slope intercept form, or y = mx + b. (In this case, m = the slope and b = the y-intercept, and x and y equal your x and y values fro a given point.)
To get the equation, we need to find the value of b, or the y intercept. To do this, we need to plug in the values we know into the equation.
we know m is the slope, and we know the slope is one so we can place that into the equation. We also know the points (0,-2) (3,1). We can place one of them into the equation for the values x and y.
1 = 1(3) + b
Now, simplify.
1 = 1(3) + b
1 = 3 + b
-2 = b
So, our y intercept is -2, we can plug that into the equation, making our final equation y = x - 2. We don't need to put y = 1x for the slope since multiplying something by 1 is doesn't change the number.
I hope this helps! I know my explanation might have been kind of confusing so if you need more help let me know in the comments !