First of all, we need to remember that the angle on the line is 180 degrees, like this:
from the image, we have two angles expressed in factors, but we can conclude that if we add two factors it will be 180, like this:
Finally, your answer is x=23 and the values of the angles are: