merging values from columns


my code so far