More or less true kakki, but not quite.
x and y co-ords will be latitude and longditude in the format degrees:minutes:seconds , not distances in miles.
To do pythagoras you need to convert them to seconds, and then know how many seconds of latitude = 1 mile and how many seconds of longditude = 1 mile at your particular point on the earth's surface: it varies as you move away from the equator.
Since you are talking about very localised distances, the distortion due to the curvature of the earth will not matter.
latitude 42 21' 35" N = ((42360) + (2160) + 35) seconds N
do the same for longditude and then you can begin to do the maths
Subtract latitudes in secs and multiply result by miles per sec at given latitude
Likewise for longditude (miles per sec of latitude is different from miles per sec of longditude, even at the equator)
Now you can use pythagoras