I need some help, how would you find the volume of a cylinder if one part of the cylinder has a full line, not half of it? (for both the questions)​ I WILL GIVE BRAINLIEST!!!

I need some help how would you find the volume of a cylinder if one part of the cylinder has a full line not half of it for both the questions I WILL GIVE BRAIN class=