This is merely a trivial personal calculator for determining measures when positioning speakers that I found myself using occasionally.
There are more advanced and theory-based calculators available on the Web, check them out.
e length of the triangle's edges (near/mid/far: 1–2/2–3/3–4 meters)
d ??? altitude: listener – speaker front
b speaker enclosure width
b' ??? difference speaker enclosure corners – back wall
w speaker front – back wall
d" ??? listener – back wall
sy speaker stand center – speaker front
e' ??? distance stand centers
d' ??? altitude: listener – stand center
w' ??? stand center – back wall
oy ??? y-offset speaker stand center – rotated speaker front
ox ??? x-offset speaker stand center – rotated speaker front
drawing of triangle showing variables