If I sold art, photography and masks through a gallery where do I put the expenses for materials, where my membership fee and where to put rental fees for space?

This is the first year I have sold enough to get a 1099 and I am bewildered