You can do this in multiple different ways but I will do it in the way I believe will be the fastest.
So since we already know everything on one side of the line, we can use that to find x. The line is 180° and since the angles are on the line we know that they will all add up to 180.