First take the inside diameter and divide by 2 to get the radius (4cm)
Then use

r^2 with 'r' being your radius to get the area of the base
The area is 12.7 cm
Now multiply the height by the area of the base to get the volume/ capacity!
40cm x 12.7cm (rounded to the nearest tenth) = 502.7 cubic centimeters
1/2 yards times ) is 3, so 1/2 would be the answer.
84/120 can be reduced to 7/10
What your gonna want to do is any where there is an x you are going to put in the number from the x column. You then solve for y and that is the answer for that number you used for x that would be your y