to determine board feet, use
feet X feet X inches
generally speaking, however, timbers are inches X inches X feet
so, after you multiply your 8x8x10, divide by 12 and you will have it. Both your examples are correct.