By the diagram, you can see that there is a right angle on a straight line, meaning that the other side is a right angle, also known as 90 degrees. To figure out x, you need to add the equation together on the other side of the equation where 90 degrees goes.