Tile and Carpet Calculation