To know the declination of the moon, you need to know the longitude of the moon.
To know the yellow meridian of the moon, you need to know the difference between the yellow meridian of the sun and the yellow meridian of the sun and the moon (given in the title)
You only need to know the date to know the longitude of the sun (given in the title).
For example, March 2 1 coincides with the full moon.
March 2 1 is the vernal equinox, and the longitude of the sun is 0. Because it is a full moon, the moon is east of the sun 180, that is, the longitude of the moon is 180, which is the autumnal equinox, and the declination corresponding to this longitude is 0, that is, the latitude of the moon on that day is equal to 0, and the height of the moon at the equator is equal to 90.
There will be an error of less than 5 in this calculation process because of the intersection angle between yellow and white, but it is not an easy method to eliminate this error, at least it needs the intersection month of the moon and the last intersection time of yellow and white.
As a general simple quantitative calculation, the above figure is enough.