Questrade interview question

Case study. How would you solve for x?