You may have substituted and simplified correctly to get , but then multiplied by 7 instead of correctly dividing both sides by 7.