A certain triangle has two sides of $8 \mathrm{dm}$ and $5 \mathrm{dm}$; the angle opposite the first is twice as large as the one opposite the second. What is the length of the third side of the triangle?