
Patrick B. answered 08/21/20
Math and computer tutor/teacher
One example is a triangle with base=9 and height =8
So the intercepts needed are (0,8) and (9,0)
the slope m=(8-0)/(0-9) = (-8/9)
y = mx+b = (-8/9)x + 8
so the lines triangle formed by the lines x=0, (a.k.a. the y-axis)
y=0 (a.k.a the x-axis)
, and y = (-8/9)x + 8