This question already has an answer here:
I have two open programs, but I want to view both of them at the same time. Dragging and adjusting them manually takes time, and I might have to do this every day. Is there any shortcut for doing this in Ubuntu?
I'm thinking something like this: