It looks like you added the third term instead of subtracting it.