Given that:
ON = 9, PQ = x, OP = y, NM = 18, QM = 20
From the figure, the triangles OPM and NQM are similar. Hence their sides are proportional, that is,
Plug the given values into the equation.
Cross-multiply and simplify to find x.
Hence the value of x is 10.