Comparison on how California and Texas became part of the United States