The distance d between two points (x1, y1) and (x2, y2) is given by the formula.d = (​(x1​ − x2​)2 + (y1​ − y2​)2)The two given points are (a, 0) and (0, b)The distance between these two points isd = (​(a − 0)2 + (0 − b)2)= (​(a)2 + (−b)2)d = (​a2 + b2)Hence the distance is (​a2 + b2)