Setup virtual display with xrandr

this is my setup: the widescreen and the laptop screen and I am only sharing the the red frame DP1-2

what I don’t get is this:

does the “5360 x 1440” have to include DP1-1 and eDP1?

and I am not sure why I get the notification for the missing " ] " when running the script a second time.