Formation of mountains, valleys, and plains