Buy on the cheapest marketplace, sell where the return after commission is highest. Profit shown is already net of the sell venue's fee.
Both sides are listing prices. Selling at the shown price is not guaranteed: you have to list and wait, usually undercutting the current offer, and moving items between marketplaces can take days.