Let's go:
Biggest triangle:
10 + 4 = 14
x + 25
[tex]\frac{4}{14} = \frac{x}{x + 25} \\\\ 14x = 4.(x + 25) \\\ 14x = 4x + 100 \\\ 14x - 4x = 100 \\\ 10x = 100 \\\ x = 10[/tex]
I hope I helped you.