The triangle you are finding is made up of three line sections,

You need to make equations for each line and then use integrals to get the area.

For example you can integrate from C to A and then subtract out the green triangles using 1/2 * base * height