To determine the distance between both points (green line) you have to draw them in the cartesian system and then draw a rigth triangle whose hypotenuse will be the length needed.
From the graphic you can calculate the values for the base and height of the triangle:
base= X2-X1= 8-3=5
height= Y1-Y2= 4-0= 4
Then apply the pythagoras theorem to calculate the hypotenuse of the triangle:
[tex]a^2+b^2=c^2[/tex]a= base
b= height
c= hypotenuse
[tex]\begin{gathered} (5)^2+(4)^2=c^2 \\ c^2=41 \\ c=\sqrt{41}=6.40 \end{gathered}[/tex]The distance between points (8,0) and (3,4) is equal to 6.40