Trial and error to find out how far away you have to plant your trebuchet, but once you have it the correct distance away it shouldn't get destroyed from opposing forces and you'll have all the time in the world to shoot your enemy.
I made a video for this achievement if you'd like to see it on video!
(0:10)