When the sun, moon and the earth are as shown in the diagram above an…