Answer:
x = 20
Explanation:
You know that these 2 triangles are similar, so you can set a proportion! That is a quality that all similar triangles have.
I've redrawn the triangles to make it easier to view, as well as setting up the proportion. Please do know you can use 6 to 12 = 25 to x, there are multiple ways of solving this.