I need to find a general formulae for a square, with its interior included, in terms of complex numbers. Note that your general square should have (general centre, side-length and orientation.)
I do not know how to deal with the orientation i.e. when the square is 45 degrees.
My solution is that let $a,b,c\in\mathbb{R}$ and $a< b$, then the general square and its interior is the intersection of $a\leq\text{Re}(z)\leq b$ and $c\leq \text{Im}(z)\leq c+|b-a|$ but this only has one orientation.