Rebase & Squashing help

I have been trying to fix my history with little success. What I want to di is to squash and rebase my commits in such a way that I end up with a linear history (see image). Any suggestions on how to do this? I have lookup tutorials on using rebase -i [SHA] but I just end up making it worse.