Restart using the USB thumb drive installer.
Go into Disk Utility and select the drive not any of the partitions. Click the Partitions button in the toolbar.
Select the Untitled partition and change the Format to OS X Extended (Journaled). Click the '-' sign then Apply.
Select the Mac partition (larger one) and click the '-' sign. Make sure the Format is OS X Extended (Journaled). Click Apply. The format needs to be the same for all your partitions to let them merge. The Mac partition should merge with the Untitled after you delete/format it. And your blue pie chart should be all blue with the label of Untitled.
With this newer Disk Utility, it's difficult to use. I'm still learning and experimenting. When things go wrong for me, I use Terminal and clean up the disk that way with diskutil commands. Needless to say, I'm not fond of this newer GUI Disk Utility.