Working in 2 different states

Hi, 

I currently work full-time in Utah w-2 and I have an online part time job for a company in Texas. The job that I have in Texas is 100% online, remotely, and 1099 Tax

I'm wondering if I can work 2 jobs like that and how can I file a tax return. Do I have to do it separately or I can do that together.