Complex sentence: His girlfriend invited him to dance, inspiring the title, which he envisioned as an anthem for letting go of frustration and to having fun.
Split into simpler sentences: His girlfriend invited him to dance, inspiring the title. Petricca envisioned the song as an anthem for letting go of frustration and having fun.