The polygons in each pair are similar. find the missing side length

If polygons are similar ratio of sides will be same
[tex]\\ \sf\longmapsto \frac{6}{14} = \frac{3}{x} \\ \\ \sf\longmapsto 6x = 14 \times 3 \\ \\ \sf\longmapsto 6x = 42 \\ \\ \sf\longmapsto x = \frac{42}{6} \\ \\ \sf\longmapsto x = 7[/tex]