Verified Answer :

The perimeter is just 2w+2h = P
2(12) + 2(6) = 24+12=36

Height = 6

if B is for box then it's the volume which is 5126 = 300

S = 36*6 + 2x
S= 216+2x

Not sure where you'll get x from