To establish justice means to keep good behavior. To ensure domestic tranquility means to make sure people are staying calm and live peacefully. All in all, the best answer would be to create a system of laws for internal peace.
Establishing justice and ensuring domestic tranquility are all related to internal peace. They created the systems which ensure justice, and create peace by doing so.