Freelance and regular job, filing from multiple states?

Hi! So I'm in a bit of a pickle. I work/live in NJ where I have a consistent job and make most of my money, but I also do inconsistent freelance work. There's a company I freelance for is in Texas (I made some money in November to December). Also I just recently got a work from home temp position for a company in New York (literally, midway through December. Only made like $270 last year, but it's a recurring position where I help them out like once a month).

 

So I have a W2 from my NJ job, a W2 for December for my NY job, and a 1099 from the Texas Company. If I understand correctly, even though I work from home, I need to do the allocation form where I only put in the $270 and fill out the nonresidental form for NY, right? The Texas company earnings I also report but do I need to add that state to my State Taxes too? Or does the 1099 technically charge it to my "office" in NJ?

 

Thank you! Any insight is greatly appreciated!