Complex sentence: Mugi's childhood friend and ex-girlfriend, having broken up with Mugi when she left for Tokyo for school.
Split into simpler sentences: Mugi's childhood friend and ex-girlfriend. She broke up with Mugi when she left for Tokyo for school.