Just delete one of each double. The warning message (it's not an error) even tells you the line number:
Code:
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/teamviewer.list:1 and /etc/apt/sources.list.d/teamviewer.list:3
In the above example, the file
/etc/apt/sources.list.d/teamviewer.list configures the same repo in lines 1 and 3. Remove one of the lines. If they are not identical, feel free to post them here to get opinions which one to remove.
Or just share the entire file (it looks like it's fairly short).