how to use sum and difference identities