Problem with my partitions?

As you can only have 4 primary partitions in your partition table, your partitioning program created an extended partition to contain more (logical) partitions.

According to https://help.ubuntu.com/community/forum/installation/Partitioning Ubuntu can be installed to a logical partition without repercussions.

One way you could resolve this is by transfering data from a primary partition to a logical partition and then install Ubuntu to the primary partition. There is probably a better way to do this, because my way involves a lot of file transfers and etc.