Which two railway companies were responsible for the transcontinental railroad?

Canadian National and Canadian Pacific
Central Pacific and Union Pacific
Norfolk Southern and Kansas City Southern
Midwest portions of the country, during the 19th century.
Amtrak and BNFS Railway

I found the answer Its B