in a terminal. If you made any mistakes apt will probably generate an error and you'll need to go back and have a look at your new entries to see where the problem is. If all goes well then you have successfully added your new repos.