The commission paid to the gallery is a selling expense that reduces the sales proceeds reported for the transaction. Thus, the commission effectively reduces the amount of gain (or increases the amount of loss) for the sale.
On Form 1040X, you may file an amended return within a three-year period to claim a refund or correct a mistake made on an original or previously amended return.