Angle 6 is congruent to angle 7 ("-2x+34") as it is an opposite angle in straight line intersection. But angle 6 is congruent to angle 2 (-9x-36) due to the two horizontal lines being parallel. So we can write the following equality to determine the value of x: