contestada

hi, here is a hard puzzle im stuck on

o = 0
xox = 3
oxxx = 24
oxoxx = 40
oooxox = 24
xxxo = ??????