Royalty expenses for 1099-MISC

I received a 1099-MISC for selling stock photography. The amount in Box 2 was just above the $10 IRS reporting minimum. Am I able to deduct the expenses related to generating that income? In particular, I purchased a camera and other gear as well as drove my car to take those photos.