It is a right triangle. The distance is the hypotenuse of the triangle.
Use the Pythagorean theorem:
Distance = sqrt(3^2 + 2^2)
Distance = sqrt( 9 + 4)
Distance = sqrt(13) (exact distance)
As a decimal sqrt(13) = 3.60555
5.3m questions
6.9m answers