Find the value of x to the nearest tenth

As the sides shown are same so the base of large triangle is double the base of smaller triangle
That is
2(3x-8) =20
Divide both sides by 2
3x-8 = 10
Add 8 to both sides
3x =18
Divide both sides by 3
x=6
So answer is 6.0