During the first-quarter moon phase, the moon is located perpendicular to the Earth and the sun. This means that the moon is at a 90-degree angle from the Earth and the sun, with the Earth positioned between the two. Thus, the correct answer is:
O perpendicular to Earth and the sun.