A solid has base in the region under the graph of y=x from x=0 to x=2. At each value of x, the cross section perpendicular to the x-axis is a triangle whose base equals x and whose height is (2+x) times the base. What is the volume of the solid?
a) 328
b) 310
c) 314
d) 332