After crossing the border from Syria, I first arrived in Amman, Jordan for a quick change of buses. Finding the bus was quite easy at the Amman bus terminal. A few hours later I arrived in Petra where I spent three days wandering around tombs, palaces, temples and other ruins like Indiana Jones.
Going back to Amman was very straight forward, too. After talking to the bus driver, he agreed to drop me off at the airport turnoff, so that I could avoid the unnecessary round-trip to downtown Amman.