I am writing a formula for linear algebra. I want to label vector matrices with the words "shear and "rotation" using under-braces. when I use under-braces they display overlapping the numbers of my vectors. How do I get them to be under the matrix instead of garbled?

The code I used is:

left [matrix{color red 1# color red 1## color red 0#color red 1}right] underbrace { color red shear}

left(left[matrix{color blue 0# color blue -1##color blue 1#color blue 0}right]right) underbrace {color blue rotation}

left [ matrix { x ## y} right] =

left [ matrix { 1 # -1 ## 1 # 0 } right]

left [ matrix { x ## y } right]

I attached a pic of code used and image output to my screen.