Another way to say "A person can teach a dog to do tricks" is "A person can train a dog to do tricks."