Yankees earn 1st win, 6-2 over Orioles