In a cyclic quadrilateral [ a rectangle inscribed in a circle] opposite angles sum to 180°
Therefore ...this implies that
(x - 2) + (x + 2) = 180 simplify
2x = 180 divide both sides by 2
x = 90°
So
Angle A = x + 2 = 90 + 2 = 92°
Angle B = x - 2 = 90 - 2 = 88°
Angle D = x - 10 = 90 - 10 = 80°