Step-by-step explanation:
with the given points, first you need to find their lengths. using distance formula of root ((x2-x1)^2 + (y2+y1)^2).
you'll get three values
then you need to use Pythagoras theorem and equate the hypoteneus square with the sum of the squares of the other sides. or, h^2 = A^2+B^2.
I hope you understand