Answer:
Yes, it's 5.83. Good job.
Explanation:
It helps if you graph these, even if just roughly. See the graph I attached. The line between the points is the hypotenuse of a right triangle with legs on the x and y axes.
Those legs are 3 units and 5 units long.
Then use the Pythagorean theorem:

It's c we want, so solve for c:

Plug in 3 & 5 for a and b:

So yes, you got it right!