Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
स बालो भौम इत्याख्यां प्राप्य भूत्वा युवा द्रुतम् ।तस्यां काश्यां चिरं कालं सिषेवे शङ्करम्प्रभुम् ॥ २६ ॥
From the Shiva Purana, print Rudra Samhita, Parvati Khanda ch 10, verse 26.
That boy got the name Bhauma and quickly became a young man. In that Kashi he served Lord Shankara for a long time.
Simple meaning: The text says the boy, named Bhauma, grew up and served Shiva at Kashi for a long time.
विश्वेश्वरप्रसादेन ग्रहत्वं प्राप्य भूमिजः ।
The text says Mars became a planet at Kashi by Shiva's grace.
विप्रवर्य कवे तात मम भक्तोऽसि पावनः ।
The text says Shiva praised Venus for his hard penance and his devotion.
लिंगस्थापनपुण्येन लिंगस्याराधनेन च ।
The text says Venus earned merit by setting up and worshipping a linga.