hello
to solve this question, we just have to know that "the sum of angles on a straight line is equals to 180 degrees"
using that knowledge, let's write out an equation

let's collect like terms

let's divde both sides by the coefficient of x

from the caculations above, the value of x is equals to 51 degrees