You want to use free Partition Wizard
bootable CD to Resize. Watch this video to understand how it's done: Partition Wizard Move/Resize Partition Video Help.
In this case rightclick on E: grab it with mouse and slide intact to the right to take up the Free space, click OK.
Then do the same with D, click OK, apply steps. You should now have the Free Space to the right of C, so you can rightclick C to Resize, drag the right border of C to the right to take up the space.
In Disk Mgmt you must rightclick Free Space to Delete Volume to make it Unallocated Space once it's outside of the Logical (green) boundaries, however Partition Wizard views Unallocated and Free space interchangeably for the purpose of Resizing.
If there are problems let us know for further help.