For the area of our green triangle, we can use the half-product of base and height, the base is the distance from the origin to the intercept of the vertical orange line, or eᵐ, and we can plug that into either our mx equation or xeˣ equation to get the height, which will be m ln(m). We can combine ln(m) · m ln(m) to m(ln(m))² to make it cleaner. We can then subtract the xeˣ integral to get the red area, which will be the same as what we calculated above: