In her own tweet, Hicks replied that she was "just doing what should've been done."
"Love all my students and want you to succeed," she wrote. "I know all too well what it's like to be a mom trying to go to school. Hugs sweetie! Thanks for the kind words."
Several commenters lauded Hicks and offered well-wishes to Yates, who wants to pursue a nursing career after she earns her associate's degree, KTRK reported.
"This made my heart warm," one Twitter user wrote.
"Never give up," added another.