Tell me how you got the answer

Answer:
x = 18; y = 20
Step-by-step explanation:
6.
Triangles KLM and KNO are similar, so the ratios of the lengths of corresponding sides are equal.
KL/KN = LM/NO
10/30 = 6/x
Cross multiply.
10x = 6 * 30
10x = 180
x = 18
KL + LN = KN
10 + y = 30
y = 20