What is the value of x?

Answer:
the answer is 6 because the first triangle is =90 degree but since it is represented as numbers it is 6