Move points R and E to change the shape of the rectangle.

E = (-2.64, 1.52)
C = (3.68, 1.74)
a = Segment(E, C)
b = OrthogonalLine(E, a)
R = Point(b)
c = OrthogonalLine(R, b)
d = OrthogonalLine(C, a)
T = Intersect(c, d)
poly1, a_1, c_1, d_1, b_1 = Polygon(E, R, T, C)
RC = Segment(R, C)
ET = Segment(T, E)
O = Intersect(ET, RC)
e = Segment(R, O)
f = Segment(T, O)
g = Segment(O, C)
h = Segment(O, E)
α = Angle(R, O, E)
β = Angle(E, R, T)
γ = Angle(R, T, C)
δ = Angle(T, C, E)
ε = Angle(C, E, R)