How do I get rid of two "viruses"?
Don't worry. These are fake virus scanners. They try to scare you by making you think your device is infected. 

If you can't exit out of them simply close the browser tab you opened them in.

And if you rooted your phone you can download AdAway to remove the ads.