A nutritionist is preparing a protein mix using two types of protein powder. Powder A contains 80% protein by weight, and Powder B contains 50% protein by weight. The nutritionist uses grams of Powder A and grams of Powder B. The total amount of protein in the mix is 450 grams. If the nutritionist uses 300 grams of Powder A, how many grams of Powder B did they use?