The required equation is ~
Let's find the slope of given line ~
comparing it with general slope - intercept form of line (y = mx + c) we get, m = -2 (that is slope of the line)
let the slope of the required line be n
And, now since the required line Is perpendicular to the given line. the product of their slopes is -1
that is ~
slope of required line is ~ 1/2
now, let's use the point - slope form of line to find the equation of required (perpendicular) line (using point (0 , 2) ~
that is ~
here, m = slope ~
I hope it helps ~