Phaladeepika
एवं गुनित्वा संयोज्य सप्तभिर्गुणयेत्पुनः । सप्तविंशहृतालब्धवर्षाण्यत्र भवन्ति हि ॥ २७॥
After thus multiplying and then adding the two products, the total should be again multiplied by 7 and divided by 27. The quotient obtained will be the Ayus in years contributed by that planet.
english translation
evaM gunitvA saMyojya saptabhirguNayetpunaH । saptaviMzahRtAlabdhavarSANyatra bhavanti hi ॥ 27॥
hk transliteration by Sanscript