The cuts are known as a "mitre" and done at a perfect 45 degrees to create a perfect corner join. It takes a great deal of practice or a good carpenter to get this right.