If you drive north 6 miles, and then drive east 19 miles, you are technically making a triangle.
19 miles
l_______________
6 milesl
l
You are just missing the last side of the triangle: the straight line stretching from across your starting point to the ending point. You can find this by using the Pythagorean theorem.