problems involving length and width