Formula for distance between two points is
d∧2=(x2-x1)∧2+(y2-y1)∧2 in our case (x1,y1)=(k,q) and (x2,y2)=(0,0)
d∧2=(0-k)∧2+(0-q)∧2= k∧2+q∧2 => d=√(k∧2+q∧2)
Good luck!!!
5.9m questions
7.7m answers