You can put this solution on YOUR website! This is geometry.
Remeber (x,y) is always how points appear written this way.
You've got (x1 , y1) and (x2 , y2)
The horizontal distance is x2 - x1
The vertical distance is y2 - y1.
The points are (0,2) and (3,6)
x2 - x1 = 3 - 0
x2 - x1 = 3
y2 - y1 = 6 - 2
y2 - y1 = 4
Now you need the formula for the hypotenuse of a right triange where l,x, and y are all distances (not points) read: length between points squared equals
the x length squared plus y length squared answer