Maria is using tiles to tile part of the wall in her house. Each tile was 38 feet wide by 12 feet long. Maria used 12 tiles in a row. What was the total area, in square feet, of all of the tiles in a row?