Alright, Adrian, this is based on the Pythagorean theorem. Remember that?
a2 + b2 = c2
Why? Draw your two points. We can draw a vertical line down from B at 19 to 4 and a horizontal line from there to A. Hey, we have a triangle with AB as the hypotenuse!
How long is the vertical line? 19 - 4 = 15. The horizontal line is 10 - 2 = 8.
Let's plug in! 152 + 82 = c2
225 + 64 = c2
289 = c2
c = √289 = 17
Boom.
Michael J.
06/12/16