Let $A(0,2)$ and $B(6,0).$ Find all points $P$ on the line $y = 4$ such that $AP\perp BP.$
(a) by slope
(b) by Pythagorean Theorem
I tried getting the midpoint which is $M=(3,1)$ and then I looked for the slope $m= -1/3$ and the inverse of slope $3$ to find the equation of the line perpendicular to the points $A$ and $B$ which is $y = 3x -8.$
Take P $(x,4)$ Find slope of AP and BP in terms of $x $. Now use the relation between perpendicular slopes and equate and solve for $x $