solve for x
An explanation would be great.

When two lines intersect, (in this case it's a ray and a line), they form a linear pair. Here, we know that [tex] 93+3x+18=180 [/tex] because those two angles form a linear pair. Solving for x we have :
[tex] 111+3x=180 \implies \\
3x=69 \implies \\
x=23 [/tex]
The angle is a straight angle. Straight angles measure 180°. One of the angles measures 93°. Subtract 93 from 180.
[tex] 180 - 93 = 87 [/tex]
That means:
[tex] 3x + 18 = 87 [/tex]
Switch it around and it becomes:
[tex] 87 - 18 = 3x [/tex]
The sign changes when you move it to the other side. at first you were adding, and now you're subtracting.
Subtract:
[tex] 87 - 18 = 69 \\ 3x = 69 [/tex]
Divide both sides by 3 to leave the variable alone:
[tex] 3x \div 3 = x \\ 69 \div 3 = 23 [/tex]
That means x = 23