What two types of plate motions occur along the Pacific Rim? Where would you find each type along western North America?