Lets suppose center of cube as origin. All charges are equidistant from this point .
Distance = 0.5*s*√<span>(3). </span> Total work done = 8*(9*10^9)*q/(0.5*s*√<span>(3) = Total work </span><span> required to assemble eight identical point charges= </span>(8.31*10^10)*q J