I used VeritasPrepKarishma's method. This is the basic formula for weighted average.
Since it is 10x + 20y/x+y then k has to fall between 10 and 20. And since x < y then its closer to 20. Hence 18.
Since it is 10x + 20y/x+y then k has to fall between 10 and 20. And since x < y then its closer to 20. Hence 18.








