A mapping $f: \mathbb{R}^n\to \mathbb{R}^n$ is said to be $K$-bi-Lipschitz, $K>1$, if \begin{equation*} \dfrac{1}{K}\leqslant \dfrac{|f(x)-f(y)|}{|x-y|}\leqslant K, \end{equation*} for any $x,y\in \mathbb{R}^n$.
I aim to construct a specific mapping $f$, which maps a cube $Q$ to the ball $B(x_Q,l(Q)/2)$ with $f(x_Q)=x_Q$, where $x_Q$ is the center of the cube, and $l(Q)$ is the side length of the cube. The notation $B(x_Q,l(Q)/2)$ denotes the ball centered at $x_Q$ with radius $l(Q)/2$. The cube is like $[-1,1]^n$, which means the edges of the cube are parallel to the coordinate axes.
**********************
Added
Sorry, maybe the above is not very clear. My question is, could you show me an exact bi-Lipschitz mapping $f$ for some $K>1$, which maps a cube $Q$ to the ball $B(x_Q,l(Q)/2)$?