The coordinates of a triangle are X(0,0, Y(2h,2h), and Z(4h,0). Is the triangle a right triangle? Show work to support your answer.

I don't really know how to solve this, or show m work.

XY = √(4h^2+4h^2)

XZ = 4h
YZ = √(4h^2+4h^2)

Now just see whether XY^2 + YZ^2 = XZ^2