Answer:
A. It was committed to settling the western territories.
Step-by-step explanation:
Both Acts passed in 1862 were pointed to settle the western territories. The Homestead Act focused on the families, it granted 160 acres of public land to each family who stayed in there for 5 years.
The Pacific Railway Act did something similar but was focused on the enterprise rather than in families. By this act, the government granted territory to the railway company that builds a "transcontinental railroad".
I hope this answer helps you.