How do I calculate my 2019 earned income amount if I only have my W2 from that year? Would Line 1 be my earned income amount?

I don't have my tax filings from that year, and the only thing I have available is my W2 form from 2019. I only worked at one job, so that W2 should be all that I used for my tax filings. Line 1 has my wages, tips, other comp. Is this my earned income amount? Or would I need to subtract all the withheld taxes like on Line 2, 4, 6? And what about Line 3, which is my Social Security Wages? Thanks for the help.