Given that the triangle MAH is similar to triangle WCF.
When two triangles are similar, then all three pairs of corresponding sides in the same ratio.
Similarly,

Therefore,

Now, substituting the measurements of the sides.

Equating the first and last ratio of the corresponding sides.

Cross multiplying in the above equation,



x = 23.
Therefore, the value of x is 23.