Can I remove these myself?

I am a first time home owner and don’t know much about these things. Can I remove these two lines/ports without an electrician?