Midpoint of the points (3,4) and (−1, 2)
=(3−12, 4+22)=(1, 3)
Slope of a line joining points (3, 4) and (−1, 2) =2−4−1−3=12
Slope of the required line = −2
[as they are perpendicular]
So, equation of required line is (y−3)=(−2)(x−1)
⇒y−3=−2x+2
⇒2x+y=5.
Here, a = 2, b = 1 and c = 5
a + b + c = 8