Answer:
y= (-1/3)x-5/3
Explanation:
To create an equation for a line, we first need to find two points on that line to have enough information to represent the line. The first point would be the exact midpoint between the two points which we can find by averaging the two y values and two x values. This gives us the point (-0.5,-1.5) which the point directly in between the two points.
To find the second point, I kind of guessed a place where a suitable coordinate would be found and I basically tried to find a point which had the x value 1 so it would be easy to find the distance from the first point. From there I decided that the distance to the second point would only be easy to calculate if it was a whole number in the pythagoras theorem. Because the two points are 3 units apart horizontally, an easy to calculate point would be 4 units above the second point vertically so it formed a perfect 3,4,5 pythagoras triangle and was exactly 5 units from the second point. Luckily this point was also exactly 5 units away from the first point too and it was the coordinate (1,-2).
From there I figured out the slope by dividing the rise by the run (the distance between the two y values by the distance between the two x values) between the two points of the new line: (-0.5,-1.5) and (1,-2), which gave me a slope of -1/3.
From there I plugged in an x and y value (I used the (1,-2) point) to find the c value:
y= (-1/3)x+c
-2 = (-1/3)(1) + c
-2=-1/3 +c
-2 + 1/3 = c
c= -5/3
Therefore the final equation is:
y=(-1/3)x -5/3
Hope this helped!