And the other has the earth several times larger than the sun. So it looks like both images are invalid.
The illustration I provided is from the observer's view, who is located at the point where the horizon line and the earth meet. The moon and sun take up approximately 0.5 degrees of the sky. The scene doesn't become any more possible in the illustration if we were to shrink the moon and sun to their appropriate sizes as seen from earth.
How do you know? Have you tried drawing it to scale?
Please show us how it is possible for the moon and sun to be in the sky simultaneously in such a scene.
If you redraw your picture to scale, add about 1/2 degree of refraction to the elevation of the sun and moon and maybe put the observer on a high hilltop, then you will see for yourself.