CALCULATIONS:

F4 = Length

F5 = Width

F6 = Height

F2 = Thickness (which has a M2 price against it)

 

var full_length = ({f4}+{f6})/1000
var full_width = ({f5}+{f6})/1000

{full_length}*{full_width}*{f2.price}