A(−3,7),B(5,−4)
Let P be the point of internal division
P(4(5)+7(−3)4+7,4(−4)+7(7)4+7)P(−111,3311)
Slope of AB =m=−4−75−(−3)=−118
Let the slope of line perpendicular to AB be m′
mm′=−1−118m′=−1m′=811
Equation of line with slope m′ and passing through P is
y−3=811(x+111)y−3=8121(11x+1)121y−363=88x+8121y−88x=371
Let Q be the point of external division
Q(4(5)−7(−3)4−7,4(−4)−7(7)4−7)Q(−413,653)
Equation of line with slope m′ and passing through Q is
y−653=811(x+413)11(3y−65)=8(3x+41)33y−24x=1043