The mistake is in your second step, where you have multiplied -0.5x by 2, then squaring. The order of operations requires for the -0.5x to be squared first, as indices come before multiplication and the entire -0.5x is in parentheses, hence it is all included. Squaring -0.5x first will give...