Another way to say "you can train your dog to do tricks" is "Dogs can be trained to perform tricks."