Vectors and Right Triangles