Remark
You probably should start with y. <O says that 6y - 14 is equal to <P because they are corresponding parts of equal triangles.
Equation
6y - 14 = 40 Add 14 to both sides
6y - 14 + 14 = 40 + 14 Combine terms on both sides
6y = 54 Divide both sides by 6
6y/6 = 54/6 Combine
y = 9
Now find x
IT = NG Conclusion from Conguency
7.5 = x - 2y Substitute for y
7.5 = x - 2*9 Combine right factors.
7.5 = x - 18 Add 18.666 to both sides
7.5 + 18 = x combine
x = 25.5
Answer
x = 25.5
y = 9