Find the value of x in these diagrams involving triangles.

Find the value of x in these diagrams involving triangles.