What is the formula for finding the coordinates of 45 degree?