how did the United States acquire new territory and expand trading in the pacific