Ok, back to the question.
When

(remember that t is an x-value), the area is a triangle.
Draw any line

, where t is between 0 and 1 inclusive.
The "base" of the triangle would have length

whilst the "height" of the triangle would have length

as the line
 = 3x )
has a positive 3 gradient.
Hence, when t is between 0 and 1 (inclusive), the area under the function would be

.
Now, when the hybrid function progresses into

, the area would be a triangle plus a rectangle.
Draw any line

, where t greater than 1.
In this region, the function has already covered the "whole triangle", which has a total area of

. So we know that the area in this second region would be

.
To find

, we need to look back at our graph. In the rectangular portion, the "base" of the rectangle would have a length of

, whilst the "height" of the rectangle would have a length of

. Hence,
 = 3t - 3 )
.
Hence the whole area under the function when

would be equal to:
