I was wondering if it's possible to calculate points: A, B, C and D in the image I made below? And if it's possible, how?
Given are coords of points A2, B2, C2, D2. The distance between 'a1' - 'w', 'c' - 'v', 'b1' - 'b' and 'g' - 'p' is 7.071067811865475, in other words $5\sqrt 2$.

At each corner, you can draw a little 45-45-90 isosceles triangle. The sides of that triangle are each $5\sqrt2$, so the hypotenuse is $10$. The hypotenuse is parallel to a coordinate axis, so the inner vertices you want are 10 units away from the outer ones in just one coordinate.