SOLUTION
The distance between two points is
The formula of distance between two points is P(x1, y1) and Q(x2, y2) is given by: d (P, Q) = √ (x2 – x1) + (y2 – y1) 2. While the distance of a point is P(x, y) from the origin is given by d(0, P) = √ x2 + y2.