[![enter image description here](https://i.stack.imgur.com/2W7W8.jpg)](https://i.stack.imgur.com/2W7W8.jpg)

How can I code the equations with big brackets on the right and left sides shown in the picture? Thank you for your help!