Given:
The equation of a line is
 ...(i)
The perpendicular line passes through the point (-1,4).
To find:
The equation of the perpendicular line.
Solution:
The slope intercept form of a line is:
 ...(ii)
Where, m is the slope and b is the y-intercept.
On comparing (i) and (ii), we get

Product of slopes of two perpendicular lines is -1. 
Let the slope of perpendicular line is 
.



The slope of the perpendicular line is 
 and it passes through the point (-1,4). So, the equation of the line is:




Add 4 on both sides.



Therefore, the equation of required line is 
.