y = -2x + 6

(x, 0)

f(x) = (-2 * x) + 6
E = Intersect(f, xAxis)
D = Point(yAxis)
e = Segment(D, E)
A = Point(e)
a = OrthogonalLine(A, xAxis)
B = Intersect(f, a, 1)
b = OrthogonalLine(B, yAxis)
C = Intersect(b, yAxis)
c = Segment(C, B)
d = Segment(B, A)
kuvio1, a_1, b_1, c_1, d_1 = Polygon(A, B, C, D)