Hint. The are two right triangles that are similar. One has a leg of length $10$ and the other has the corresponding leg of length $30-10=20=2\cdot 10$.
Hint. The are two right triangles that are similar. One has a leg of length $10$ and the other has the corresponding leg of length $30-10=20=2\cdot 10$.