question asks for answer in units of cubic feet so all dimensions must be converted from yards to feet.
ft x ft x ft = ft^3
Look up conversion: 1 yard = 3 ft
height = 2 yd * 3 = 6 ft
width = 9 ft
length = 3 yd * 3 = 9 ft
volume = 6 ft x 9 ft x 9 ft = 486 ft^3