Did I do this right? I really don’t want to fail lol

Answer:
Yes
Step-by-step explanation:
Yes, you did this correctly.
By subtracting the volume of the cylinder from the volume of the rectangular solid, you accurately acquired the volume of the remaining figure.
And yes, your calculations are correct.