But don't forget, the coefficient for x in the sin function is -8, making du = -8 and thus causing the two minuses (from the original equation and then from the integration) to cancel out, yielding a positive.