It's part of a quantum course, but the problem I'm having is pretty straight math.

There are two similar functions I need to square. I can do it fine, but the question calls for 'simplified form' and I'm struggling to simplify.

They are and . Take the subtraction example (the only difference with the other one is a sign): I get .

Is there a way to express this more simply?