Step 1 :

It is clear from the graph that the leg BC of the triangle is parallel to the x - axis.

Hence its equation is y=1

The perpendicular leg AC is parallel to y axis.

Hence its equation is x = 1

Hence the equation of the legs AC and BC are

x = 1 and y = 1 respectively.