Megan arranges Box A and Box B on her study table. The dimensions of Box A are 10 by 5 by 4 inches. The dimensions of Box B are 5 by 3 by 4 inches.