Day1, SLC-Jackson Hole
Day2, Grand Teton NP, stay in YS NP
Day3, YS NP
Day4, YS NP
Day5, YS NP and drive to Glacier NP in late afternoon, stay on the way
Day6, Glacier NP
Day7, Drive back to SLC
If you may have extra one or two open days, that would be better to smooth your itinerary.