wall angles and length math