Explanation:
we have the points
A (0, 0)
B (-2, 3)
the distance between 2 points is the Hypotenuse of a right-angled triangle, where the x and y coordinate differences are the legs.
that allows us to use Pythagoras to calculate the distance (the length of the Hypotenuse).
distance² = (0 - -2)² + (0 - 3)² = 4 + 9 = 13
distance = sqrt(13) = 3.605551275... ≈ 3.6