The measure of two angles in a triangle are shown in the diagram.

Which equation can be used to find the value of z?
Responses
A 2(42) + z = 1802(42) + z = 180
B 42 + 2z = 18042 + 2 z = 180
C 42 + 2z = 36042 + 2 z = 360
D 2(42) + z = 360

Since the sum of the angles in a triangle is always 180 degrees, we can use equation B to find the value of z:

42 + 2z = 180.