What is the x and y values you are getting as the program is running? Also what is the calculations for steps 1-3?