A solid has base the region bounded by the graphs of y=x and the x-axis on 0≤x≤2. The cross-section perpendicular to the x-axis at each x is a rectangle whose height h(x) is defined by h(x)=x2 for 0≤x≤1 and h(x)=2−x for 1<x≤2. Which of the following is the volume of the solid?
a) 1
b) 1211
c) 65
d) 1213