To find the distance between two points, we can use the distance formula given by
![d((x_1,y_1),(x_2,y_2))=\sqrt[]{(x_2-x_1)^2+(y_2-y_1)^2}](https://img.qammunity.org/2023/formulas/mathematics/college/kixjumj1qbsaxz5socrsrhbo4ix2kigecf.png)
Where (x1, y1) and (x2, y2) are the coordinates of our points.
Our points are (0, 0) and (2, 2). Plugging those values on the formula, we have
![\begin{gathered} d((0,0_{}),(2,2))=\sqrt[]{(2-0)^2+(2-0_{})^2} \\ =\sqrt[]{2^2+2^2} \\ =\sqrt[]{2\cdot2^2} \\ =\sqrt[]{2^3} \\ =2\sqrt[]{2} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/2zw7zkb4cv83lx8yjsc360acwlcpw8z3h1.png)
The distance between (2, 2) and the origin is equal to the square root of 8.