Use the standard theory of two lines:
A line contains a point \(\left( {{x_1},{y_1}} \right)\) and perpendicular to another line
then,
\(m \times {m_1} = - 1\)
Here, \({m_1}\)is the slop of another line.
Then, the equation of line that contains a point is,
Consider the equation:
\(y = - 4x - 5\)
Now, compare with the general equation of a line\(y = mx + c\).
Here, \(m = - 4\)
Then, the formula of two lines is perpendicular,
Therefore,
Then, the equation of line that contains a point \(\left( { - 3,7} \right)\) is,
Therefore,
\(\begin{array}{c}x - 4y + 31 = 0\\y = \frac{1}{4}x + \frac{{31}}{4}\end{array}\)