A-Rod has 3 RBIs as Yankees beat Pirates 10-3