In similar figures the ratio of corresponding sides is the same:
Corresponding sides in given figure:
AB and VW
BC and WX
CD and XY
DE and YZ
EA and ZV
As you know the length of AE and ZV and need to find the value of WX taht is correspondig side of BC, you have the next:
[tex]\frac{ZV}{EA}=\frac{WX}{BC}[/tex][tex]\frac{4}{10}=\frac{WX}{5}[/tex]You use this equation to find the length of WX:
[tex]\begin{gathered} \frac{5\cdot4}{10}=WX \\ \\ \frac{20}{10}=WX \\ \\ \\ WX=2 \end{gathered}[/tex]Then, the length of WX is 2