Check the picture below.
so hmmm for the sake of completion, let's check where they intersect
now, notice, in the picture the function that is "above" or the "ceiling" function is the sin(x), so we'll get the area under the curve by using "above" - "below" functions.
now let's use the triple angle identity of sine