I’d like the distance between the origin and a point

The distance between points (x1, y1) and (x2, y2) can be calculated as follows:
[tex]d=\sqrt[]{(x_2-x_1)^2+(y_2-y_1)^2}[/tex]If one of the points is the origin, say (x1, y1) = (0, 0), then:
[tex]\begin{gathered} d=\sqrt[]{(x_2-0)^2+(y_2-0)^2} \\ \text{Operate:} \\ d=\sqrt[]{x_2^2+y_2^2} \end{gathered}[/tex]We only need the coordinates of one of the points and use the formula above, thus the correct choice is B.