Let $D$ be a square with vertices $(0, 0), (1, 1), (2, 0), (1, −1)$ and $D^*$ be a parallelogram with vertices $(0, 0), (1, 2), (2, 1), (1, −1)$. Find a linear map T taking $D^*$ onto $D$.
The answer is $$T(x,y) = (x, (-x/3)+(2x/3)),$$ but I'm not sure how to get that?