I earned salary and commission income, how do I enter my eligible expenses?

I worked from a home office some of the year. I know there are two sets of rules to enter eligible expenses, how do I do that when my income is two types, salary and commission. Commission income is about 36% of total income