By selling land given to them to build the railroad
Explanation:
The government gave the railroad companies large amounts of land to sell both so that the railroad companies earn some money and so they can speed up the settling of the frontier.
No, it is false that after the Spanish-American War the people of the Philippines were happy to have America replace Spain as a colonial partner, since many in the Philippines wanted full independence.