Do you add to get the with times length times height
Yes. You have to multiply the width by the length, then multiply the sum of the width times length by the height, then add them all together.
Linear because a quarter will always be 1/4 of a dollar. And 1 dollar will always be 4 quarters.