Triangle bounded by three lines

Find the triangle bounded by the three lines y=xy = x, y=x+4y = -x + 4, and y=0y = 0 (the xx-axis). Each vertex comes from solving two of the lines together. y=xy = x and y=0y = 0 give (0,0)(0, 0); y=x+4y = -x + 4 and y=0y = 0 give (4,0)(4, 0); y=xy = x and y=x+4y = -x + 4 give x=2,y=2x = 2, y = 2, that is (2,2)(2, 2).

The large dots mark these three vertices. Taking the base along the xx-axis from (0,0)(0, 0) to (4,0)(4, 0) gives length 44, and the height is the yy-coordinate 22 of the apex (2,2)(2, 2), so the area is 12×4×2=4\dfrac{1}{2} \times 4 \times 2 = 4.