Write the equation of a line perpendicular to the given line but passing through the given point.

y=x+4 (-7,1)

slope of your given line is 1

so slope of new line is -1

new equation:
y = -x + b
but (-7,1) lies on it, so
1 = -(-7) + b
-6 = b

y = -x - 6