Bhavishya Purana (Jyotisha Selections) · by Vyasa
Chapter 10 · Months, the Adhika Masa and Tithi Rules
मासाधिमासतिथिनिर्णयः
दण्डद्वये भुक्तशेषे न भुञ्जीत कदाचन ।अतिक्रम्यापरां भोक्तुं तिथिं यत्र उभावपि ॥ २३ ॥
In the full Bhavishya Purana this is Madhyama Parva part 2, chapter 6, verse 23.
When two dandas (24-minute units) of the eaten tithi (moon day) are left over, they never eat them. Both the Sun and Moon pass on to eat the next tithi.
Simple meaning: Each day about two small time units are left over, and they add up.
यत्र विंशत्तिथिस्तस्मात्सञ्चितैका भवेदिति ।
The leftover time gathers into extra moon days, and thirty of them make one extra month.
स चाधिको यतो मासस्ततः स्यादधिमासकः ।
That month is the extra month. After the equinox, the Sun turns south.
राशेराश्यंतरे सूर्यो यावद्गच्छति भानुमान् ।
As the Sun moves between signs, he adds the gathered moon days.