I live in Texas and worked remotely for a company in California for 3 months, and made $3,500 total. I received a W-2 and 1099-MISC. How do I file this on my taxes?

Also, I received a 1099-NEC from a different company based in Texas that I freelanced for. How do I file that on my taxes, as well?