projection onto both the x-axis and the y-axis