Yes, the upper bound function is .
I suggest you to do a graph of the situation to follow my answer.
First, we'll find the intersection between and . Just replacing, we obtain , the functions intersects at .
Doing the same, we conclude that and insersects at .
Finally, the area is given by .