The measure of Angle E, the angle of elevation from point A to point B, is left-parenthesis 3 x plus 1 right parenthesis-degrees. The measure of Angle D, the angle of depression from point B to point A, is 2 left-parenthesis x plus 8 right parenthesis-degrees. Find the measure of each angle.