Translation:Is the tram going to the market or the railway station?
Oh, that's fairly easy. The subject is the only noun that doesn't have any of the (rag-)suffixes or postpositions. Piac and pályaudvar both sport the -ra suffix, so they must be objects.
The focus is on piacra here because it's getting compared to pályaudvarra. Where does the tram go?