Distance between two points A(x1​,y1​) and B(x2​,y2​) is given by d=(x2​−x1​)2+(y2​−y1​)2​.Distance from origin O(0,0) and the given points (x,y) isDistance formula: x2+y2​B(−5,5)OB=(−5)2+(5)2​=25+25​=50​=52​ units.