You're working is correct so far. The working in that answer is overcomplicating the question. What you have done is the more standard approach to doing it taught in hsc while the other one is for some reason trying to introduce ratios into the K expression which is not needed and a more confusing way to approach the question