Mitakshara is a legal treatise on Hindu law written by Vijaneshwara, not astronomy. Kamasutra is indeed about sex life, Rajatarangini is a historical chronicle of Kashmir by Kalhana, and Charaka Samhita is a foundational Ayurvedic medical text - all correctly matched.