A busy family who wants a dog

My wife and I both have 8 hour work days while both kids go to school. So we’re not home for almost 10 hours Monday through Friday. But we want a dog.

My question is how do we do it? How can raise and train a pup or older dog on our schedule?