I graphed the points and I observed that it can form a right triangle. The distance required is the hypotenuse of the right triangle.
long leg is from -2 to 6 value of the x line. Its measure is 8.
short leg is form 0 to 5 value of the y line. Its measure is 5.
We will use the Pythagorean theorem to get the hypotenuse or distance of two points.
a² + b² = c²
8² + 5² = c²
64 + 25 = c²
89 = c²
√89 = √c²
9.43 = c
The distance of the two points, M and H, is 9.43