The first one is missing a comma. I would write it as, " I prefer tea, rather than coffee." It could also be "I prefer tea over coffee."
The second one should be, "I'm leaving Cambodia for Japan." Or maybe "I'm leaving from Cambodia to Japan."
Hope this helped