Can I deduct my 5% commission fee to my real estate agent on the sale of my rental property/former primary residence?

I sold my rental property/former primary residence for $152,000 and paid my real estate agent a 5% commission of $7,600 on the sale. Can I deduct that $7,600 on my taxes to lower my potential gain? If so, where and how would that be deducted?