First compute the slope of the line passing through (2,4) and (-4,6)
formula for slope between (x1,y1) and (x2,y2) = (y2-y1)/(x2-x1)
applying to this problem: slope = (6-4)/(-4-2)= 2/-6 = -1/3
slope of line perpendicular to that line has slope that is negative reciprocal of -1/3 or 3.
equation of line in slope intercept form is y = mx + b, where m is slope and b = y intercept. We have m so equation becomes y = 3x + b and just need to determine b.
We determine b by substituting x and y coordinates of point line goes through into equation and solve for b. The line goes through (-1,1) so:
1 = 3(-1) + b
4 = b
so final equation is y = 3x + 4