The sum of the lengths of all the edges of a hexagonal prism is 81 centimeters (cm), and all edges are the same length. In a quadrangular pyramid, all edges are the same length, and one edge is equal to the length of the edges of a hexagonal prism. Find the sum of the lengths of all the edges of the quadrangular pyramid.
81 6 3 [OP_MUL] [OP_DIV] 4 2 [OP_MUL] [OP_MUL]
var_a = 81
var_b = 6
var_c = 3
var_d = var_b * var_c
var_e = var_a / var_d
var_f = 4
var_g = 2
var_h = var_f * var_g
var_i = var_e * var_h
print(int(var_i))