For the pair of similar triangles, find the value of x.

Find the scale between sides xz and gh
18/4 = 4.5
Multiply the length of fh by the scale to find x
6 x 4.5 = 27
x = 27