How to convert Longitude and Latitude to XY Coordinates?

You should have a look at UTM. With the conversion to UTM you get Easting and Northing coordinates (x,y).