add solution to q9