Since you are given that the height and the base are the x and y-axis, all we need to do is find the intersection points between the axis and the line x-2.
==> The intersection point between the x-axis and the line x-2 are the point where the y= 0
==> x-2 = 0 ==> x= 2
==> The point of intersection is (2, 0).
Then, the length of the base is 2 units.
Now we will determine the intersection point between the y-axis and the the line x-2.
==> x= 0 ==> y= -2
Then the intersection point is ( 0, -2)
Then, the length of the height is 2.
Now we will calculate the area.
==> a = (1/2) * 2 * 2 = 2
Then the area is a = 2 square units.
We'll calculate the area of the right triangle as being the half of the product of the legs of triangle.
A = x*y/2
We'll determine x andy intercepting points of the line y = x - 2:
For y=0 => x - 2 = 0
x = 2
The x intercepting point is (2 ; 0).
For x = 0 => y = -2
The y intercepting point is (0 ; -2).
The area is:
A = 2*2/2
A = 2 square units