Hi! You need to follow the point-slope formula, which is "y-y1=m(x-x1)", where...
Y1 is your output (-4, or 1)
X1 is your input (7, or 2)
M is your slope (1)
Pick any y value and any x value, but they should be from the same ordered pair. Let's say we pick the first ordered pair. We can substitute these values into the formula:
Y + 4 = x - 7 (FINAL ANSWER)
*If you need it to be in slope-intercept form (y=mx+b), just move the "4" to the other side of the equation and change the sign.
Y = x - 11 (*FINAL: SLOPE INTERCEPT FORM*)
Hope I helped!