You may have correctly subtracted 7 from both sides to get , but then solved only . If , then or . In this problem, X is replaced by . So you should be solving two equations, and , but you forgot one of them.