Find the volume in cubic feet of each freezer by multiplying length times width times height, and then divide the sale price of each by the volume in order to get the dollar figure per cubic foot.
Feeezer A: 2 ft. x 2 ft. x 4.5 ft. = 18 cu ft.
$350/18 cu ft. = $19.44/ cubic foot
Freezer B: 3 ft. x 3 ft. x 3.5 ft. = 31.5 cu feet
$480/ 31.5 = $15.24/ cubic foot
Freezer B is the better buy.