When you substitute 8 for x in , the result is 5 times 8, not 58.