If A=(x-y)-z and B=x-(y-z), then A-B= what?

just plug and chug:

A = x-y-z
B = x-y+z
A-B = -2z