B(-b,0)

A(0,a)

C(c,0)

O

D

E

y=-\frac{a}{c}x+a

y=\frac{a}{b}x+a

\left(  0,\frac{bc}{a} \right) 

A = Point(xAxis)
B = Point(xAxis)
f = Segment(A, B)
C = Point(yAxis)
g = Segment(B, C)
h = Segment(C, A)
i = OrthogonalLine(A, g)
D = Intersect(i, g)
E = Point(f)
α = Angle(B, E, C)
β = Angle(C, D, A)
F = Intersect(i, yAxis)
j = Line(B, F)
G = Intersect(j, h)
k = Segment(B, G)
H = (-1, -1)
u = Vector(H, F)

Tool: Tool1
Input: A
Output: h, g

B: (x(A), 0)
C: (0, y(A))
g = Segment(A, C)
h = Segment(A, B)