With the information you provided, x could be anything... :/
math seems to be too hard for you guys. i'm going to add another step, but here's it solved:

come on guys this is simple math
plug x in. put numbers back in to triangle.
if the triangles are similar, which akio probably should have said, then x should be 25.
i knew i was forgetting something
myb