Answer:
a. x=9, b. x=6
Explanation:
In a the triangle is cut in half. the sides are equal even though the triangle is slanted.
In b the triangles are similar if you flip the big one. Since the smaller triangle is smaller it is a reduced form of the larger one.