Solution
Given a solid (cuboid) made of cubes.
Where each side length of the cube is 1yard,
The length of the solid is

The width of the solid is

And the height of the solid is

To find the volume, V, of the solid, the formula is

Where

The volume, V, of the solid will be

Hence, the volume, V of the solid is 12 cubic yards