The two families had to build two bridges of 30 and 50 centimeters, and hold as many cans as possible on them without collapsing.