A quadrilateral inscribed in a circle. The vertices of quadrilateral lie on the edge of the circle and are labeled as A, B, C, D. The interior angle A is labeled as left parenthesis 2 x minus 40 right parenthesis degrees. The angle B is labeled as 116 degrees. The angle D is labeled as x degrees.