To merge two partitions, open the Disk Management tool (Windows+x > Disk Management), right-click the drive you want to delete, and select Delete Volume to change the disk space to Unallocated. Next, right-click the drive you want to extend, select Extend Volume, and follow instructions.