We are given a triangle △ABC such that side AC is extended through C to D.
Also, we are given the following angles
Let us first draw the triangle to better understand the problem.
As you can see, the sum of angles ∠ACD and ∠BCD must be equal to 180° as per the straight-line angle property.
Now recall that the sum of all three angles of a triangle must be equal to 180°
Therefore, the value of x is 5