Determine the number of pigs that could be stocked in a pig sty with dimensions of…