Shiva Swarodaya · by Traditional (Shiva–Parvati dialogue)
Chapter 12 · Conception
गर्भप्रकरणम्
विषमांके दिवारात्रौ विषमांके दिनाधिपः ॥चंद्रनेत्राग्नितत्त्वेषु वंध्या पुत्रमवाप्नुयात् ॥ २९० ॥
In the printed book this is verse 290.
Take an odd-numbered day and night, with an odd-numbered day-lord too. Then in the Moon, eyes and fire elements, a woman who had no child may get a son. (Our text is unclear here: 'Moon, eyes, fire' may be number words for the 1st, 2nd and 3rd elements.)
Simple meaning: The verse gives odd-number conditions under which a childless woman may get a son.
Classical view, not medical advice.
ऋत्वारंभे रविः पुंसां स्त्रीणां चैव सुधाकरः ॥
If the man has the Sun breath and the woman the Moon breath, a childless woman may get a son.
ऋत्वारंभे रविः पुंसां शुक्रांते च सुधाकरः ॥
The verse gives an order of the breaths; the result is unclear.
चंद्रनाडी यदा प्रश्ने गर्भे कन्या तदा भवेत् ॥
Asked about a pregnancy: Moon breath says girl, Sun breath says boy, both may mean a risk of losing it.