Okay, so to start, the bottom line equals 180°, so the two angles combined must equal that, right?
Next, come up with the equation:

After that, you can combine the like terms to simplify it a little:

From there, add the 18 to both sides to cancel it out, which leaves you with:

Then just divide 198 by 9, and you'll get what X equals.
Hope it helps!