Use proportions because we know that the triangles are similar.
[tex]\frac{20}{28}=\frac{5}{x}[/tex]
Cross multiply.
20x=28×5
x=7
answer: 7