Complex sentence: Maeser spent some time in Virginia while serving his mission, where he earned keep for himself and his family by giving music lessons.
Split into simpler sentences: Maeser spent some time in Virginia while serving his mission. Maeser earned keep for himself and his family in Virginia by giving music lessons.