The length would be 16 ft on both sides.. The width would be 7 ft, I think since a wall is forming one side, and he 40 ft, so in order to make the other three side the maximum would be 39 ft, so I think you get it now. This is just my guess... I'm only in sixth grade :/