“Then Judas marched away from the citadel. He encamped at Beth-zechariah, which was opposite the camp of the king.”
Judas Maccabeus set up his camp about 6 miles from Beth-zur at Beth-zechariah so that you can say they are opposite each other by 6 miles.