8. The measures of two angles in an isosceles triangle are shown in the diagram.

Which equation can be used to find the value of x?

A. 45 + 2x = 180
B. 2(45) + x = 180
C. 45 + 2x = 360
D. 45 + x = 180