Those are both synth sounds. The first one is a pulse wave with I think a flanger on it very warm chiptuney sound. The second is a saw wave with some sync. You can get some really cool free synths if you wanna learn them It's not very begginer friendly but I like this one