By choosing the like terms and the exponentials.
Let's find the value of x
Since the sum of internal angles of a triangle is 180°
therefore,