What Railways merged?
New York Central... N & W... Pennsylvania.... C&O? B&O? That's as far as I can get.
Only the NYC and PRR. Neither the N&W, nor the C&O, nor the B&O were involved. Don't confuse the Penn Central merger with the later to come CONRAIL mess.