Imagine slicing the solid into many very thin slices, perpendicular to the x-axis. If the slices are thin enough that the width of the slices does not change much, it's volume is, approximately, the area of the base times the thickness. You are told that "every cross section perpendicular to x-axis is a semicircle" so the area of each slice is . The line segment form y= 0 to x+ 2y= 4, has length y= (4- x)/2 and forms a diameter of the semicircle. That is, the area of each slice is . Since the thickness is along the x-axis, we call the thickness " ". The volume of each slice, area times thickness, is . We can approximate the volume of the solid by adding the volumes of all slices: . That's a "Riemann sum" and we can get theexactvolume by taking the limit with more and more slices of smaller and smaller thickness, giving the integral

.

That lower bound, 0, is where the line crosses the y-axis (so x= 0) and the upper bound, 4, is where the line, x+ 2y= 4, crosses the x-axis (so y= 0).