The points A and B have coordinates (3, 2) and (1, 4) respectively.
So, the slope of any line perpendicular to AB is
1
The slope of any line given two points on it is
[Difference of the y coordinates/ difference of the x coordinates] taken in the same order
So here the slope of AB =-1
We know that the product of the slopes of two lines which are perpendicular to each other =-1. Hence the slope of the required line= 1.